mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 23:33:29 +00:00
refactor(insights, settings): unify the Heart group and add settings sidebar groups
The insights tab strip's "Cardiovascular" popover held only three rare Withings markers while pulse, resting heart rate, HRV, and cardio recovery sat scattered across a flat pill and the unrelated Vitals group. Cardiovascular is now Heart and gathers all six; bmi and workouts — flat only by historical accident — collapse into their correct Body / Activity groups, and breathing disturbances moves out of Vitals into the Sleep manager bucket instead of vanishing whenever the sleep module is off. Blood pressure, weight, sleep, mood, and medications stay pinned as flat top-level pills — now a documented `PINNED_SUB_PAGE_SLUGS` set instead of an unexplained "predates v1.4.32" carve-out. Active energy moves from Vitals to Activity to match its own tab-strip section comment. All changes are grouping / presentation data only — no slug, route, or redirect changed. The Settings sidebar's 19 entries rendered as one flat list with no visual structure. They now cluster under seven group headers (Account, Your data, Display, Health profile, AI, Connectivity, System), reordered to match; the desktop sidebar gets a non-interactive text header per group, the mobile chip strip a quiet divider. Presentation only — no route changed. Reference: 2026-07-17 UX/IA audit, H2 + M1 + M2 + M3 + M6.
This commit is contained in:
1 parent
4c436d7dfc
commit
e7802701ba
13 files changed
+504
-233
No files matched your search
@@ -78,7 +78,7 @@ const GROUP_ICONS: Record<ManagerGroup, LucideIcon> = {
|
||||
body: Scale,
|
||||
activity: Footprints,
|
||||
sleep: Moon,
|
||||
cardiovascular: HeartPulse,
|
||||
heart: HeartPulse,
|
||||
hearing: Ear,
|
||||
environment: Sun,
|
||||
metabolic: Droplet,
|
||||
|
||||
Reference in new issue
Block a user