mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
Surface a dedicated settings section for enabling and disabling the secondary tracking domains (mood, sleep, glucose, workouts, recovery, labs, achievements, coach, insights, doctor report, cycle). Each row carries an icon, label, and one-line description with a switch bound to the resolved module map on /auth/me; toggling PATCHes /api/auth/me/modules and invalidates the auth/me query so the navigation, Insights pills, and dashboard tiles re-gate live. Core domains (weight, blood pressure, pulse, medications) render as a read-only always-on group. The entry sits right below Account in the settings navigation.