Merge remote-tracking branch 'origin/main' into feat/vaccinations-phase-1

This commit is contained in:
Marc-André Bombeck committed 2026-08-08 19:35:18 +02:00
commit 4f2dd51390
17 files changed
+146 -39

No files matched your search

-9
View File
@@ -13,15 +13,6 @@
export type EcgClassification =
"IRREGULAR" | "NOT_DETECTED" | "INCONCLUSIVE" | null;
/**
* How many strips the OVERVIEW teaser paints. It is a glance, not a history;
* the dedicated `/insights/ecg` page passes no limit and shows every
* recording. The constant lives here — a pure value with no React import — so
* the `/insights` page can pass it without pulling the ECG component eagerly
* across its dynamic boundary.
*/
export const ECG_OVERVIEW_LIMIT = 5;
/** i18n key per device verdict, under `insights.ecg.result.*`. */
export const ECG_RESULT_LABEL_KEYS: Record<string, string> = {
IRREGULAR: "insights.ecg.result.irregular",
+11
View File
@@ -0,0 +1,11 @@
/**
* How many strips the OVERVIEW teaser paints. It is a glance, not a history;
* the dedicated `/insights/ecg` page passes no limit and shows every
* recording.
*
* The value lives in its own React- and label-map-free module so the
* `/insights` overview page can pass it without pulling the ECG label map,
* its helpers, or the recording component across the dynamic boundary — a
* bare number is all the eager page imports.
*/
export const ECG_OVERVIEW_LIMIT = 5;