feat(insights): name the part of the day on the blood pressure stats while narrowed

The stat strip reads the chart's visible window, so with the chart
narrowed to the morning its figures were morning figures under a plain
Systolic label. The column label now says so. Russian texts for the
time-of-day card.
This commit is contained in:
Marc-André Bombeck committed 2026-11-04 00:17:00 +01:00
1 parent 22f83aed6e
commit 1a4703f4fe
12 files changed
+108 -2

No files matched your search

+2 -2
View File
@@ -145,7 +145,7 @@ export default function InsightsBlutdruckPage() {
summary: sysSummary,
unit: "mmHg",
fractionDigits: 0,
seriesLabel: t("charts.systolic"),
seriesLabel: timeOfDay.statsLabel(t("charts.systolic")),
icon: ArrowUpRight,
windowStats: statsByType?.BLOOD_PRESSURE_SYS ?? null,
windowPending: !statsSettled,
@@ -155,7 +155,7 @@ export default function InsightsBlutdruckPage() {
summary: diaSummary,
unit: "mmHg",
fractionDigits: 0,
seriesLabel: t("charts.diastolic"),
seriesLabel: timeOfDay.statsLabel(t("charts.diastolic")),
icon: ArrowDownRight,
windowStats: statsByType?.BLOOD_PRESSURE_DIA ?? null,
windowPending: !statsSettled,