mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-19 00:12:18 +00:00
Link a measurement type to its insights sub-page
Clicking a type on the measurements list now drills into that metric's insights sub-page when one exists, falling back to the existing ?type= filtered list when it does not. A reverse type-to-slug map backs the navigation, preferring the dedicated single-metric page so an ambiguous type resolves correctly (PULSE to pulse, not blood-pressure; WEIGHT to weight, not bmi). No API change.
This commit is contained in:
1 parent
7861c9b642
commit
8a7a2bc2e8
5 files changed
+148
-7
No files matched your search
@@ -511,6 +511,7 @@
|
||||
"previousPage": "Vorherige Seite",
|
||||
"nextPage": "Nächste Seite",
|
||||
"dailyTotalCaption": "({count} Einzelwerte)",
|
||||
"openMetricInsights": "{type}-Auswertung öffnen",
|
||||
"sleepNapCaption": "+{count} Nickerchen",
|
||||
"sleepAwakeningsCaption": "{count} Wachphasen",
|
||||
"expandDay": "Einzelwerte dieses Tages anzeigen",
|
||||
|
||||
@@ -511,6 +511,7 @@
|
||||
"previousPage": "Previous page",
|
||||
"nextPage": "Next page",
|
||||
"dailyTotalCaption": "({count} samples)",
|
||||
"openMetricInsights": "Open {type} insights",
|
||||
"sleepNapCaption": "+{count} nap(s)",
|
||||
"sleepAwakeningsCaption": "{count} awakening(s)",
|
||||
"expandDay": "Show samples for this day",
|
||||
|
||||
Reference in new issue
Block a user