Commit 97ca86b
feat(dashboard): PropertyEditorShared extraction + UX quality overhaul
Extract shared components (PropertyRow, PropertyCard, AddPropertyDialog,
FollowerSelector, EmptyFollowerState) into PropertyEditorShared.js,
eliminating ~300 lines of duplication between SafetyLimitsEditor and
FollowerConfigEditor.
- SafetyLimitsEditor: 991 → 296 lines via shared components
- FollowerConfigEditor: 1352 → 634 lines, fully schema-driven
- NESTED_SUBSECTIONS registry in followerConfigSchemaUtils — adding
new nested sub-sections requires zero editor code changes
- Override UX: left border indicator, badge chips, hover-reveal delete
- Bug fixes: slider defaults, sparse write-back, enum display,
add-override button, reference hints in AddPropertyDialog
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent aa91385 commit 97ca86b
File tree
5 files changed
+1497
-1531
lines changed- configs
- dashboard/src
- components/config
- utils
5 files changed
+1497
-1531
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2965 | 2965 | | |
2966 | 2966 | | |
2967 | 2967 | | |
| 2968 | + | |
| 2969 | + | |
| 2970 | + | |
| 2971 | + | |
| 2972 | + | |
| 2973 | + | |
| 2974 | + | |
| 2975 | + | |
| 2976 | + | |
| 2977 | + | |
2968 | 2978 | | |
2969 | 2979 | | |
2970 | 2980 | | |
| |||
0 commit comments