mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +00:00
The settings left rail rendered one entry per section — 26 visible — which read as a long flat list on desktop and a 26-chip scroll strip on mobile. Group the sections into nine top-level entries and surface each group's children as in-page sub-tabs, keeping the rail one level deep and the second level inside the page. Every section route stays live at its own URL. The rail is now driven by a SETTINGS_GROUPS model; a reverse index maps each child slug onto its group so deep links and the per-page settings links keep resolving and highlight the right group, with the active child marked on the sub-tab strip. This generalises the existing hidden-child highlight mechanism rather than moving routes, so bookmarks and the contract surface are untouched. Groups: Account (profile, sign-in), Tracking (areas, the per-domain pages, targets), Display (dashboard, insights), Integrations (connections, channels, source priority), Notifications, AI & Coach, API & Access, Data & Privacy (export, health record, sharing, privacy, advanced), About. Per-domain settings keep their view and data together inside one sub-tab — only the nav groups, never a single concept. Rename the Display group title away from "Dashboard" so it no longer collides with its own Dashboard child. Add the nine group labels and the sub-section nav label across all six locales. Drop the now-unused hub back-link.