mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The WHOOP / Oura / Polar score family (sleep performance, day strain, ANS charge, body-temperature deviation, …) is ingested end-to-end and lit in the AI chart-token allowlist, but no page renders it. These scores sit outside the metric-status registry by design — they are vendor-rolled-up values, not signals the app re-derives — so they carry no assessment card. DeviceScoreTile is the surface for them: a title, the latest reading, the trailing-window mean, and a small sparkline, read straight from the stored analytics summaries slice (server-authoritative, never recomputed). One neutral card, never a status colour. When the series is still sparse the sparkline gives way to the shared LearningGate so a two-night-old strap never paints a jagged two-point line. The connected variant reads its own summary so it can drop onto a page that already owns an analytics read. Add the page-level copy in all six locales.