mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 14:40:52 +00:00
Merge remote-tracking branch 'origin/main' into feat/vaccinations-phase-1
This commit is contained in:
commit
4f2dd51390
17 files changed
+146
-39
No files matched your search
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
Reference in new issue
Block a user