mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
Adds a tap-to-expand 'Driven by' panel under the four component sub-bars inside <HealthScoreCard>. Each row pairs the existing value bar with a second weight-share bar tinted in the Coach provenance accent plus a source pill (manual / withings / appleHealth / mixed / none). Rows sort by effective weight descending so the biggest contributor leads; null components sink to the bottom and dim to 50 % opacity. A 'Provisional' header badge fires when fewer than half of the configured inputs carry data, and a role=status 'mixed sources' banner surfaces above the rows whenever at least one component blends multiple ingest paths. i18n keys land under insights.healthScore.provenance.* across all six locales (en / de / fr / es / it / pl with formal register). The locale-integrity drift-guard auto-discovers the new keys. 14 new RTL-style SSR tests pin the contract: aria-expanded toggle, aria-controls/id pairing, sort order, source-pill localisation, mixed banner gating, empty-state dimming, provisional threshold, asOf tooltip forwarding, and footnote rendering.