mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
Add an optional statusMetric prop to HealthKitMetricPage that mounts InsightStatusCard beneath the chart, pointed at the generic metric-status route. The card renders only on the data-bearing branch; the insufficient-data branch keeps the existing empty-state note and never fires an assessment fetch. Wire statusMetric on the 29 HealthKit metric sub-pages and on the sleep page, which closes the assessment slot its deferral comment had left open. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> (cherry picked from commit 083044201af7715740ec0ee2f14c7240c4999fbf)