Add the setup flow's welcome screen and shell

The front door reads the same ledger every screen reads: a record that
never entered the flow sees the welcome, one mid-way is sent to the step
it owes, a finished one is offered the questions again. The shell prints
the counter and an ordered step list off the step machine, so it shows
exactly the screens this flow has, and every screen moves focus to its
heading on arrival.

"Skip for now" is a real exit — it stamps the account past the first-run
redirect and opens the checklist on the dashboard — and the one-time
medical disclaimer now gates it as well as "Set up", because a skip that
reached the dashboard without it would be a way round the acknowledgment.

The five-step wizard's welcome carousel, goal picker and source grid go
with it; the numbered step route follows in the next commit.
This commit is contained in:
Marc-André Bombeck committed 2026-09-10 15:10:50 +02:00
1 parent 13f11ed06c
commit 1c2e7c29de
19 files changed
+743 -1527

No files matched your search

+25 -1
View File
@@ -4490,7 +4490,9 @@
"step1of4": "Step 1 of 4",
"step2of4": "Step 2 of 4",
"step3of4": "Step 3 of 4",
"step4of4": "Step 4 of 4"
"step4of4": "Step 4 of 4",
"stepOf": "Step {current} of {total}",
"stepsLabel": "Setup steps"
},
"goals": {
"title": "What would you like to track?",
@@ -4620,6 +4622,28 @@
"keylessLine": "HealthLog is fully useful without AI. Your tiles, charts, trends and exports all work — AI only adds the plain-language read on top.",
"setupCta": "Set it up (about a minute)",
"sharedKeyNote": "This instance already provides a shared AI provider, so insights work for you right now — no setup needed."
},
"steps": {
"who": "Who this record is for",
"areas": "What to keep an eye on",
"medication": "Medication",
"sources": "Where readings come from",
"visit": "Doctor's visit",
"units": "Units",
"confirm": "Confirm",
"first-result": "First result",
"done": "Done"
},
"flow": {
"welcome": {
"title": "Welcome to HealthLog",
"body": "Five short questions decide what HealthLog shows you first. It takes about two minutes.",
"changeLater": "Nothing is final: every choice can be changed later under Settings.",
"setUp": "Set up",
"skip": "Skip for now",
"againBody": "Your setup is finished. Answer the questions again to change what HealthLog shows first, or go to the dashboard.",
"setUpAgain": "Set up again"
}
}
},
"gettingStarted": {