Add graph-first dashboard with relationship type nodes

This commit is contained in:
Rijad Zuzo
2026-02-18 00:05:07 +01:00
parent 9bb484e95d
commit f27b08501d
2 changed files with 731 additions and 12 deletions
+27
View File
@@ -2,6 +2,33 @@
Updated: 2026-02-17
## Latest Milestone (2026-02-17): Obsidian-Style Relationship Graph on Dashboard
Reworked the initial Dashboard section to lead with a relationship network
visual:
- Replaced the old top summary-only start with a graph-first hero:
- `lib/features/dashboard/dashboard_view.dart`
- new `Relationship Graph` card renders:
- center `YOU` node
- surrounding person bubbles from local people data
- custom-painted connection edges (radial + mesh links)
- relationship-type icon badges + color-coded edge/node styling
- Added relationship-type visual mapping for labels such as:
- spouse, fiance, partner/girlfriend/boyfriend, friend, bestie, family,
sister, brother, fallback connection
- Added adaptive layout behavior:
- compact/mobile and wide/web radius/node limits
- hidden-node indicator for large lists
- relationship legend chips under the graph
- Preserved existing dashboard flow below the graph:
- stats cards and `Next Moves` tasks remain available
Validation for this milestone:
- `flutter analyze` -> pass
- `flutter test` -> pass
## Latest Milestone (2026-02-17): Connectivity Event-Driven Background Sync
Implemented online-transition-triggered sync so background sync reacts faster