mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 22:32:04 +00:00
feat(mood): rebuild logging as a 5-face hero with tag picker and factor ratings
Replace the score-number radio + free-text form with an icon-first
"How are you?" hero that matches the native client: a row of five mood
faces in best-on-the-left order is the primary input, and picking one
reveals a brief annotate panel (time, the category-grouped tag picker,
factor ratings, and the note field).
The tag picker now reads the catalog's `kind` / `scaleMin` / `scaleMax`
metadata. BINARY tags stay icon-above-label toggle tiles sent as
`tagKeys`; RATED factors (work / social / sleep quality / stress, and
the 1..2 Yes/No conflict factor) render a compact 1..scaleMax segmented
control and are sent as a parallel `ratedFactors: [{ key, rating }]`
array. The entries list / history stays reachable below the hero.
Add the mood-face icon map (Laugh / Smile / Meh / Frown / Angry) and the
`heroQuestion`, `factorYes`, `factorNo`, `factorRatingOption` strings
across all six locales.
This commit is contained in:
1 parent
2bb810852e
commit
e9eb7dc704
10 files changed
+315
-54
No files matched your search
@@ -469,6 +469,10 @@
|
||||
"addEntry": "Hinzufügen",
|
||||
"editEntry": "Eintrag bearbeiten",
|
||||
"moodLevel": "Stimmung",
|
||||
"heroQuestion": "Wie geht's dir?",
|
||||
"factorYes": "Ja",
|
||||
"factorNo": "Nein",
|
||||
"factorRatingOption": "{label}: {value} von {max}",
|
||||
"tags": "Tags",
|
||||
"tagsPlaceholder": "z.B. Sport, Arbeit, Familie",
|
||||
"tagsHelp": "Kommagetrennt eingeben",
|
||||
|
||||
@@ -469,6 +469,10 @@
|
||||
"addEntry": "Add",
|
||||
"editEntry": "Edit entry",
|
||||
"moodLevel": "Mood",
|
||||
"heroQuestion": "How are you?",
|
||||
"factorYes": "Yes",
|
||||
"factorNo": "No",
|
||||
"factorRatingOption": "{label}: {value} of {max}",
|
||||
"tags": "Tags",
|
||||
"tagsPlaceholder": "e.g. Exercise, Work, Family",
|
||||
"tagsHelp": "Comma-separated",
|
||||
|
||||
@@ -469,6 +469,10 @@
|
||||
"addEntry": "Añadir",
|
||||
"editEntry": "Editar entrada",
|
||||
"moodLevel": "Estado de ánimo",
|
||||
"heroQuestion": "¿Cómo estás?",
|
||||
"factorYes": "Sí",
|
||||
"factorNo": "No",
|
||||
"factorRatingOption": "{label}: {value} de {max}",
|
||||
"tags": "Etiquetas",
|
||||
"tagsPlaceholder": "p. ej. deporte, trabajo, familia",
|
||||
"tagsHelp": "Separa con comas",
|
||||
|
||||
@@ -469,6 +469,10 @@
|
||||
"addEntry": "Ajouter",
|
||||
"editEntry": "Modifier l’entrée",
|
||||
"moodLevel": "Humeur",
|
||||
"heroQuestion": "Comment vas-tu ?",
|
||||
"factorYes": "Oui",
|
||||
"factorNo": "Non",
|
||||
"factorRatingOption": "{label} : {value} sur {max}",
|
||||
"tags": "Étiquettes",
|
||||
"tagsPlaceholder": "p. ex. sport, travail, famille",
|
||||
"tagsHelp": "Sépare par des virgules",
|
||||
|
||||
@@ -469,6 +469,10 @@
|
||||
"addEntry": "Aggiungi",
|
||||
"editEntry": "Modifica voce",
|
||||
"moodLevel": "Umore",
|
||||
"heroQuestion": "Come stai?",
|
||||
"factorYes": "Sì",
|
||||
"factorNo": "No",
|
||||
"factorRatingOption": "{label}: {value} di {max}",
|
||||
"tags": "Tag",
|
||||
"tagsPlaceholder": "es. sport, lavoro, famiglia",
|
||||
"tagsHelp": "Separa con virgole",
|
||||
|
||||
@@ -469,6 +469,10 @@
|
||||
"addEntry": "Dodaj",
|
||||
"editEntry": "Edytuj wpis",
|
||||
"moodLevel": "Nastrój",
|
||||
"heroQuestion": "Jak się masz?",
|
||||
"factorYes": "Tak",
|
||||
"factorNo": "Nie",
|
||||
"factorRatingOption": "{label}: {value} z {max}",
|
||||
"tags": "Tagi",
|
||||
"tagsPlaceholder": "np. sport, praca, rodzina",
|
||||
"tagsHelp": "Oddziel przecinkami",
|
||||
|
||||
Reference in new issue
Block a user