-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
The current default dashboard has too many cards that don't drive decisions:
- 4 baseline cards (HRV 7d, HRV 30d, RHR 7d, RHR 30d) — redundant
- Zone 2 Weekly — not actively tracked
- 6 Explore quick links — navigation clutter
Proposed new layout
Section 1: "Recovery" (metrics)
- HRV (7-day) metric_card — with Sleep HRV subtitle (depends on Baseline HRV should use sleep HRV (hrv_sleep) instead of all-day (hrv_rmssd) #226 for correct data)
- Sleep Score sparkline (30-day, blue)
- Readiness Score metric_card
Section 2: "Activity" (metrics)
- Steps sparkline (30-day, green)
- Activity Summary (7-day lookback)
Section 3: "Trends" (charts)
- Painkillers trend_chart — tag pattern:
pain.killer(matches "Pain killer" and "tag_generic_pain_killer"), weekly display, 90-day lookback - Sex trend_chart — tag pattern:
^(Sex|sex|tag_generic_sex)$, weekly display, 90-day lookback - Ejaculation trend_chart — tag pattern:
^Ejaculation$, monthly display, 90-day lookback
Changes needed
Update defaultDashboardConfig in packages/api-spec/src/schemas/dashboard.ts.
After deploying, reset stored dashboard config via POST /dashboard/reset.
Future enhancements (separate issues)
- HRV as sparkline instead of metric_card (Dashboard: Support hrv_sleep sparkline (period summary for contextual HRV) #224)
- Fissure pain trend (needs custom metric support in trends, Trends: Support custom metrics in trend charts #225)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels