mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
Add a calm, value-free Rest Mode indicator to the dashboard score card and the recovery insight so the web matches what iOS already shows: when an illness/condition episode is active the score and recovery are framed, never penalised, and the surface now says so. The new banner is neutral and untinted, self-gates on an active episode, and reveals only the onset date — never a decrypted note or episode label. The dashboard reads the annotation from the snapshot (resolved server-side alongside the score); the recovery section reads it from the analytics payload. Give the sleep page one assessment per distinct chart group: the duration/architecture assessment now sits with its charts, and the sleep-quality block carries its own SLEEP_SCORE assessment, matching the "multiple charts, multiple texts" structure the recovery page meets. Add the steps explainer (insights.subPage.explainer.steps*) and pass explainerMetric="steps", and demote the recovery per-block title to an h3 so the heading outline nests cleanly under the page heading and group heading.