fix(ketones): offer ketone logging in the catalog and as a checkup

Ketones joined in v1.47.2 without their two sibling lists. The metric
catalog treated them as connectable and sent a user without readings
to the integrations page, where nothing delivers ketones; they now
count as manual-only and the row offers "Log ketones". And a checkup
could not be tied to ketones, so a "measure ketones" reminder never
resolved on its own; ketones are now a reminder target next to blood
glucose, with a label in all ten locales. A catalog test also holds
every metric that cannot be connected to a way to log it.
This commit is contained in:
Marc-André Bombeck committed 2026-11-11 22:34:51 +01:00
1 parent 3edb63d759
commit 2a68b39a85
16 files changed
+56 -5

No files matched your search

@@ -28,6 +28,7 @@ const LOCALES = readdirSync(MESSAGES_DIR)
const REQUIRED_KEYS = [
// Newly added Vorsorge reminder type labels.
"measurementReminders.types.WAIST_CIRCUMFERENCE",
"measurementReminders.types.BLOOD_KETONES",
"measurementReminders.types.WHO5_SCORE",
"measurementReminders.types.SCI_SCORE",
// Pre-existing screening labels (regression floor).
@@ -16,6 +16,7 @@ export const TYPE_GROUPS = [
"BLOOD_PRESSURE_SYS",
"PULSE",
"BLOOD_GLUCOSE",
"BLOOD_KETONES",
"OXYGEN_SATURATION",
"BODY_TEMPERATURE",
],