Add responsive people profile editor flow

This commit is contained in:
Rijad Zuzo
2026-02-22 23:04:04 +01:00
parent c281fd8d3d
commit 0233288506
2 changed files with 531 additions and 83 deletions
+22
View File
@@ -7,6 +7,28 @@ 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): Responsive People Add/Edit Form (Sheet + Dialog)
Aligned the People profile creation/edit flow with the newer insights-style UI
language and improved platform-specific presentation behavior.
- `lib/features/people/people_view.dart`
- replaced the old `AlertDialog` person editor with a shared responsive form
panel:
- mobile (`<720px`): `showModalBottomSheet` with a rounded sheet layout
- desktop/web/tablet: larger custom dialog panel
- added richer form UX with:
- hero preview (avatar + live preview chips for name/relationship/location/tags)
- grouped sections (`Identity`, `Context`) matching the People/Insights card
style
- preserved existing labels and `Save` action text for test compatibility
- kept add/edit repository behavior unchanged (local-first)
- fixed narrow-width section header overflow discovered by widget test
- Validation
- `flutter analyze` -> pass
- `flutter test` -> pass
## Latest Milestone (2026-02-22): People Page UX Redesign (Insights-Aligned)
Reworked the `People` page to feel closer to the graph long-press `Person