feat: open the day from every chart drawn in days

Move the chart's doors to the day (click, the touch tooltip's button, the
dashed line through the open day, the row of day dots, the caption) into
one hook and give it to every chart with a date axis: recovery, sleep
duration and stages, the mood line and calendar, the intake calendar,
water and caffeine, lab markers, custom metrics, questionnaires and basal
temperature. Heatmaps share one adapter; every chart's keyboard way to a
day is its data table or the dated list beside it.
This commit is contained in:
Marc-André Bombeck committed 2026-10-08 15:19:09 +02:00
1 parent b5596f872d
commit 7fbde1bc83
21 files changed
+1725 -1000

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ export default function InsightsStimmungPage() {
MeasurementType series, so the period-over-period range read
(`/api/analytics/range`, keyed on a MeasurementType enum) has
nothing to aggregate. */}
<MoodChart chartKey="mood" compareBaseline={compareBaseline} />
<MoodChart chartKey="mood" compareBaseline={compareBaseline} dayLinks />
<MetricTargetSummary slug="mood" />