mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
fix(medications): dashboard quick-add offers only doses the server calls actionable
The dashboard and capture-picker intake form filtered the medication list on `active && trackIntake`, so a course that had ended (still active, nobody paused it) was offered for a dose while the cards, the table and "take all" already followed the server's `intakeActionable`. The picker now renders from that one answer as well. When medications exist but none offers a dose today, the empty state no longer claims there are no medications; it says nothing is due and points to the medication history for a past dose.
This commit is contained in:
1 parent
95d3676821
commit
ca10f2e5df
9 files changed
+97
-15
No files matched your search
+4
-1
@@ -533,7 +533,10 @@
|
||||
"saveError": "Einnahme konnte nicht gespeichert werden.",
|
||||
"emptyTitle": "Noch keine Medikamente angelegt",
|
||||
"emptyDescription": "Lege zuerst ein Medikament mit Zeitfenster an, damit du die Einnahme protokollieren kannst.",
|
||||
"emptyCta": "Medikament hinzufügen"
|
||||
"emptyCta": "Medikament hinzufügen",
|
||||
"noneActionableTitle": "Heute ist nichts einzunehmen",
|
||||
"noneActionableDescription": "Deine Medikamente sind pausiert, sind nur dokumentiert, oder ihr Einnahmezeitraum hat noch nicht begonnen oder ist schon vorbei. Eine vergangene Einnahme kannst du weiterhin im Verlauf des Medikaments nachtragen.",
|
||||
"noneActionableCta": "Zu den Medikamenten"
|
||||
},
|
||||
"quickEntryDiscard": {
|
||||
"title": "Eintrag verwerfen?",
|
||||
|
||||
+4
-1
@@ -533,7 +533,10 @@
|
||||
"saveError": "Could not save medication intake.",
|
||||
"emptyTitle": "No medications yet",
|
||||
"emptyDescription": "Create a medication with a schedule first, then come back here to log the intake.",
|
||||
"emptyCta": "Add medication"
|
||||
"emptyCta": "Add medication",
|
||||
"noneActionableTitle": "Nothing to take today",
|
||||
"noneActionableDescription": "Your medications are paused, kept as a record, or their course has not started or has already ended. A past dose can still be added from a medication's history.",
|
||||
"noneActionableCta": "Open medications"
|
||||
},
|
||||
"quickEntryDiscard": {
|
||||
"title": "Discard this entry?",
|
||||
|
||||
+4
-1
@@ -533,7 +533,10 @@
|
||||
"saveError": "No se ha podido guardar la toma.",
|
||||
"emptyTitle": "Aún no hay medicamentos",
|
||||
"emptyDescription": "Crea primero un medicamento con horario, después vuelve aquí para registrar la toma.",
|
||||
"emptyCta": "Añadir medicamento"
|
||||
"emptyCta": "Añadir medicamento",
|
||||
"noneActionableTitle": "Nada que tomar hoy",
|
||||
"noneActionableDescription": "Tus medicamentos están en pausa, se guardan solo como registro, o su tratamiento aún no ha empezado o ya ha terminado. Puedes seguir añadiendo una toma pasada desde el historial del medicamento.",
|
||||
"noneActionableCta": "Abrir medicamentos"
|
||||
},
|
||||
"quickEntryDiscard": {
|
||||
"title": "¿Descartar esta entrada?",
|
||||
|
||||
+4
-1
@@ -533,7 +533,10 @@
|
||||
"saveError": "Impossible d’enregistrer la prise.",
|
||||
"emptyTitle": "Aucun médicament pour l’instant",
|
||||
"emptyDescription": "Crée d’abord un médicament avec un horaire, puis reviens ici pour saisir la prise.",
|
||||
"emptyCta": "Ajouter un médicament"
|
||||
"emptyCta": "Ajouter un médicament",
|
||||
"noneActionableTitle": "Rien à prendre aujourd’hui",
|
||||
"noneActionableDescription": "Tes médicaments sont en pause, conservés comme simple fiche, ou leur traitement n’a pas encore commencé ou est déjà terminé. Tu peux toujours ajouter une prise passée depuis l’historique du médicament.",
|
||||
"noneActionableCta": "Ouvrir les médicaments"
|
||||
},
|
||||
"quickEntryDiscard": {
|
||||
"title": "Abandonner cette saisie ?",
|
||||
|
||||
+4
-1
@@ -533,7 +533,10 @@
|
||||
"saveError": "Impossibile salvare l’assunzione.",
|
||||
"emptyTitle": "Ancora nessun farmaco",
|
||||
"emptyDescription": "Crea prima un farmaco con un orario, poi torna qui per registrarne l’assunzione.",
|
||||
"emptyCta": "Aggiungi farmaco"
|
||||
"emptyCta": "Aggiungi farmaco",
|
||||
"noneActionableTitle": "Niente da prendere oggi",
|
||||
"noneActionableDescription": "I tuoi farmaci sono in pausa, conservati solo come scheda, oppure la terapia non è ancora iniziata o è già terminata. Puoi comunque aggiungere un’assunzione passata dalla cronologia del farmaco.",
|
||||
"noneActionableCta": "Apri i farmaci"
|
||||
},
|
||||
"quickEntryDiscard": {
|
||||
"title": "Scartare questa voce?",
|
||||
|
||||
+4
-1
@@ -533,7 +533,10 @@
|
||||
"saveError": "복용 기록을 저장하지 못했어요.",
|
||||
"emptyTitle": "등록된 약이 없어요",
|
||||
"emptyDescription": "먼저 일정이 있는 약을 만든 뒤, 여기로 돌아와 복용을 기록하세요.",
|
||||
"emptyCta": "약 추가"
|
||||
"emptyCta": "약 추가",
|
||||
"noneActionableTitle": "오늘 복용할 약이 없어요",
|
||||
"noneActionableDescription": "약이 일시 중지되었거나 기록용으로만 보관 중이거나, 복용 기간이 아직 시작되지 않았거나 이미 끝났어요. 지난 복용은 약의 기록에서 계속 추가할 수 있어요.",
|
||||
"noneActionableCta": "약 목록 열기"
|
||||
},
|
||||
"quickEntryDiscard": {
|
||||
"title": "이 기록을 버릴까요?",
|
||||
|
||||
+4
-1
@@ -533,7 +533,10 @@
|
||||
"saveError": "Nie udało się zapisać przyjęcia.",
|
||||
"emptyTitle": "Brak leków",
|
||||
"emptyDescription": "Najpierw dodaj lek z harmonogramem, a potem wróć tutaj, aby zarejestrować jego przyjęcie.",
|
||||
"emptyCta": "Dodaj lek"
|
||||
"emptyCta": "Dodaj lek",
|
||||
"noneActionableTitle": "Dziś nic do przyjęcia",
|
||||
"noneActionableDescription": "Twoje leki są wstrzymane, zapisane tylko jako wpis albo ich kuracja jeszcze się nie zaczęła lub już się skończyła. Przeszłą dawkę nadal możesz dodać w historii leku.",
|
||||
"noneActionableCta": "Otwórz leki"
|
||||
},
|
||||
"quickEntryDiscard": {
|
||||
"title": "Odrzucić ten wpis?",
|
||||
|
||||
Reference in new issue
Block a user