fix(meds): honest step counter and a single source of one-shot truth in the wizard

The progress chip now matches the path the user actually walks (5
steps for one-shot, 6 for recurring after dropping the empty "day
detail" step). The cadence picker no longer offers a one-shot radio
once the mode picker has settled on recurring. The summary line on
the final step interpolates the actual weekdays / day-of-month /
yearly date rather than reading a category label.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Marc-André BombeckandClaude Opus 4.7 committed 2026-05-28 10:23:28 +02:00
1 parent 17ea23a1cc
commit 22164c6c8b
8 files changed
+278 -80

No files matched your search

+4
View File
@@ -841,6 +841,10 @@
"everyNWeeks": "Alle {n} Wochen",
"everyNMonths": "Alle {n} Monate"
},
"weekdaysDetail": ", an {days}",
"dayOfMonthDetail": ", am {day}.",
"everyNMonthsDetail": ", alle {months} Monate am {day}.",
"yearlyDetail": ", am {date}.",
"times": "um {times}",
"startsOn": "Beginn: {date}",
"endsOn": "Ende: {date}",
+4
View File
@@ -841,6 +841,10 @@
"everyNWeeks": "Every {n} weeks",
"everyNMonths": "Every {n} months"
},
"weekdaysDetail": ", on {days}",
"dayOfMonthDetail": ", on day {day}.",
"everyNMonthsDetail": ", every {months} months on day {day}.",
"yearlyDetail": ", on {date}.",
"times": "at {times}",
"startsOn": "Starts: {date}",
"endsOn": "Ends: {date}",
+4
View File
@@ -841,6 +841,10 @@
"everyNWeeks": "Every {n} weeks",
"everyNMonths": "Every {n} months"
},
"weekdaysDetail": ", on {days}",
"dayOfMonthDetail": ", on day {day}.",
"everyNMonthsDetail": ", every {months} months on day {day}.",
"yearlyDetail": ", on {date}.",
"times": "at {times}",
"startsOn": "Starts: {date}",
"endsOn": "Ends: {date}",
+4
View File
@@ -841,6 +841,10 @@
"everyNWeeks": "Every {n} weeks",
"everyNMonths": "Every {n} months"
},
"weekdaysDetail": ", on {days}",
"dayOfMonthDetail": ", on day {day}.",
"everyNMonthsDetail": ", every {months} months on day {day}.",
"yearlyDetail": ", on {date}.",
"times": "at {times}",
"startsOn": "Starts: {date}",
"endsOn": "Ends: {date}",
+4
View File
@@ -841,6 +841,10 @@
"everyNWeeks": "Every {n} weeks",
"everyNMonths": "Every {n} months"
},
"weekdaysDetail": ", on {days}",
"dayOfMonthDetail": ", on day {day}.",
"everyNMonthsDetail": ", every {months} months on day {day}.",
"yearlyDetail": ", on {date}.",
"times": "at {times}",
"startsOn": "Starts: {date}",
"endsOn": "Ends: {date}",
+4
View File
@@ -841,6 +841,10 @@
"everyNWeeks": "Every {n} weeks",
"everyNMonths": "Every {n} months"
},
"weekdaysDetail": ", on {days}",
"dayOfMonthDetail": ", on day {day}.",
"everyNMonthsDetail": ", every {months} months on day {day}.",
"yearlyDetail": ", on {date}.",
"times": "at {times}",
"startsOn": "Starts: {date}",
"endsOn": "Ends: {date}",