Add person editor validation and duplicate warnings
This commit is contained in:
@@ -7,6 +7,25 @@ Updated: 2026-02-22
|
||||
- After every sensible code/documentation change set, create a git commit as
|
||||
the last step so the next agent session can pick up from clean checkpoints.
|
||||
|
||||
## Latest Milestone (2026-02-22): Person Editor Inline Validation + Duplicate Warning
|
||||
|
||||
Improved the People add/edit profile experience to make validation explicit and
|
||||
support safer profile creation in a sharing-first workflow.
|
||||
|
||||
- `lib/features/people/people_view.dart`
|
||||
- added inline required-field validation for `Name` and `Relationship`
|
||||
(no more silent no-op when save is pressed with empty required fields)
|
||||
- added live duplicate-name warning banner in add/edit form:
|
||||
- checks normalized profile names against existing local profiles
|
||||
- excludes the current profile during edit
|
||||
- warns before save while still allowing save (with follow-up merge flow)
|
||||
- routed existing profile list into the responsive editor panel/sheet so
|
||||
duplicate detection works on mobile + desktop/web
|
||||
|
||||
- Validation
|
||||
- `flutter analyze` -> pass
|
||||
- `flutter test` -> pass
|
||||
|
||||
## Latest Milestone (2026-02-22): Responsive People Add/Edit Form (Sheet + Dialog)
|
||||
|
||||
Aligned the People profile creation/edit flow with the newer insights-style UI
|
||||
|
||||
Reference in New Issue
Block a user