mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 14:32:03 +00:00
feat(medications): collapsible advanced groups + injection titration timeline
Restructure the medication detail advanced surface (Erweitert + API tabs) into expand/collapse groups: SettingsGroup gains an opt-in collapsible mode built on the same Radix Collapsible primitive SheetSection uses, so a long settings wall reads as scannable sections. Lifecycle and external-API groups default open; Data and the destructive zone default collapsed. Add a titration timeline to the injection tab — completed and planned dose-escalation steps rendered as a vertical timeline with a "you are here" marker. Reads the existing MedicationDoseChange stream (future-dated rows are planned steps), so no schema change is needed. Neutral palette, no state-driven colour.
This commit is contained in:
1 parent
8920a35d38
commit
e6ea27baf2
10 files changed
+424
-6
No files matched your search
@@ -1276,6 +1276,13 @@
|
||||
"noCurrentDose": "Noch keine Dosis erfasst.",
|
||||
"empty": "Noch keine Titrations-Historie. Erfasse eine Dosisänderung, um die Stärkekurve zu sehen."
|
||||
},
|
||||
"titration": {
|
||||
"title": "Titrationsplan",
|
||||
"empty": "Noch keine Dosis-Steigerungsschritte erfasst. Datierte Dosisänderungen hinzufügen, um den Plan abzubilden.",
|
||||
"youAreHere": "Du bist hier",
|
||||
"doseStep": "{dose} {unit}",
|
||||
"plannedFor": "Geplant · {date}"
|
||||
},
|
||||
"injectionSiteBodyOutlineAriaLabel": "Körperumriss",
|
||||
"injectionSitePickerAriaLabel": "Injektionsstelle auswählen",
|
||||
"injectionSiteRecommendedAriaLabel": "{site} – empfohlene nächste Stelle",
|
||||
|
||||
@@ -1276,6 +1276,13 @@
|
||||
"noCurrentDose": "No dose recorded yet.",
|
||||
"empty": "No titration history yet. Log a dose change to see the strength curve."
|
||||
},
|
||||
"titration": {
|
||||
"title": "Titration plan",
|
||||
"empty": "No dose-escalation steps recorded yet. Add dated dose changes to plot the plan.",
|
||||
"youAreHere": "You are here",
|
||||
"doseStep": "{dose} {unit}",
|
||||
"plannedFor": "Planned · {date}"
|
||||
},
|
||||
"injectionSiteBodyOutlineAriaLabel": "Body outline",
|
||||
"injectionSitePickerAriaLabel": "Injection site picker",
|
||||
"injectionSiteRecommendedAriaLabel": "{site} — recommended next site",
|
||||
|
||||
@@ -1276,6 +1276,13 @@
|
||||
"noCurrentDose": "Aún no hay dosis registrada.",
|
||||
"empty": "Aún no hay historial de titulación. Registra un cambio de dosis para ver la curva de dosis."
|
||||
},
|
||||
"titration": {
|
||||
"title": "Plan de titulación",
|
||||
"empty": "Aún no hay pasos de escalada de dosis registrados. Añade cambios de dosis con fecha para trazar el plan.",
|
||||
"youAreHere": "Estás aquí",
|
||||
"doseStep": "{dose} {unit}",
|
||||
"plannedFor": "Previsto · {date}"
|
||||
},
|
||||
"injectionSiteBodyOutlineAriaLabel": "Silueta del cuerpo",
|
||||
"injectionSitePickerAriaLabel": "Selector de sitio de inyección",
|
||||
"injectionSiteRecommendedAriaLabel": "{site}: sitio siguiente recomendado",
|
||||
|
||||
@@ -1276,6 +1276,13 @@
|
||||
"noCurrentDose": "Aucune dose enregistrée pour l'instant.",
|
||||
"empty": "Aucun historique de titration. Enregistrez un changement de dose pour voir la courbe de dose."
|
||||
},
|
||||
"titration": {
|
||||
"title": "Plan de titration",
|
||||
"empty": "Aucune étape d'escalade de dose enregistrée pour le moment. Ajoutez des changements de dose datés pour tracer le plan.",
|
||||
"youAreHere": "Vous êtes ici",
|
||||
"doseStep": "{dose} {unit}",
|
||||
"plannedFor": "Prévu · {date}"
|
||||
},
|
||||
"injectionSiteBodyOutlineAriaLabel": "Silhouette du corps",
|
||||
"injectionSitePickerAriaLabel": "Sélecteur de site d'injection",
|
||||
"injectionSiteRecommendedAriaLabel": "{site} — prochain site recommandé",
|
||||
|
||||
@@ -1276,6 +1276,13 @@
|
||||
"noCurrentDose": "Nessuna dose ancora registrata.",
|
||||
"empty": "Nessuna cronologia di titolazione. Registra un cambio di dose per vedere la curva della dose."
|
||||
},
|
||||
"titration": {
|
||||
"title": "Piano di titolazione",
|
||||
"empty": "Nessuna fase di aumento della dose registrata. Aggiungi variazioni di dose con data per tracciare il piano.",
|
||||
"youAreHere": "Sei qui",
|
||||
"doseStep": "{dose} {unit}",
|
||||
"plannedFor": "Previsto · {date}"
|
||||
},
|
||||
"injectionSiteBodyOutlineAriaLabel": "Sagoma del corpo",
|
||||
"injectionSitePickerAriaLabel": "Selettore del sito di iniezione",
|
||||
"injectionSiteRecommendedAriaLabel": "{site} — prossimo sito consigliato",
|
||||
|
||||
@@ -1276,6 +1276,13 @@
|
||||
"noCurrentDose": "Nie zapisano jeszcze żadnej dawki.",
|
||||
"empty": "Brak historii titracji. Zapisz zmianę dawki, aby zobaczyć krzywą dawki."
|
||||
},
|
||||
"titration": {
|
||||
"title": "Plan titracji",
|
||||
"empty": "Nie zarejestrowano jeszcze kroków zwiększania dawki. Dodaj datowane zmiany dawki, aby nakreślić plan.",
|
||||
"youAreHere": "Jesteś tutaj",
|
||||
"doseStep": "{dose} {unit}",
|
||||
"plannedFor": "Zaplanowano · {date}"
|
||||
},
|
||||
"injectionSiteBodyOutlineAriaLabel": "Sylwetka ciała",
|
||||
"injectionSitePickerAriaLabel": "Wybór miejsca iniekcji",
|
||||
"injectionSiteRecommendedAriaLabel": "{site} — zalecane następne miejsce",
|
||||
|
||||
Reference in new issue
Block a user