mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
fix(onboarding): the connect step reads the sync verdict
The step decided "connected" from the ledger's `state` and had one piece of copy for every outcome: "the first sync is in progress". That sentence was false for a connection delivering for months, and worse for one the person has to repair — the screen said everything was fine while the grant was gone. `connectSourceView` resolves the envelope entry into one of four tiles and says whether the flow may record its result. Only `pending_first_sync` and `fresh` may; `stale` is acknowledged without being claimed as new; `stalled`, `failing`, `reauth_required` and `parked` name the state and link at the page that can change it. An unresolved envelope paints no tile at all. A source the instance cannot connect — a BYO provider with no client pair, a shared-app provider with no app — now points at the credentials instead of offering a "Connect" button onto a card that has none.
This commit is contained in:
1 parent
0bdbf009f6
commit
da58d16642
11 files changed
+883
-45
No files matched your search
+37
-3
@@ -4677,12 +4677,46 @@
|
||||
"connect-source": {
|
||||
"title": "{target} verbinden",
|
||||
"body": "Eine Verbindung, aus deinen Antworten gewählt. Danach kommen die Werte von selbst.",
|
||||
"howTo": "Die Verbindung wird auf der Integrationsseite hergestellt. Komm danach hierher zurück; dieser Bildschirm merkt, wenn sie steht.",
|
||||
"howTo": "Die Verbindung zu {target} wird auf der Integrationsseite hergestellt. Komm danach hierher zurück; dieser Bildschirm merkt, wenn sie steht.",
|
||||
"cta": "{target} verbinden",
|
||||
"checking": "Verbindung wird geprüft.",
|
||||
"waiting": "Noch nicht verbunden.",
|
||||
"done": "{target} ist verbunden.",
|
||||
"syncing": "Die erste Synchronisierung läuft. Die Werte erscheinen auf dem Dashboard, sobald sie ankommen."
|
||||
"openSettings": "Einstellungen → Integrationen öffnen",
|
||||
"noDate": "unbekannt",
|
||||
"needsCredentials": {
|
||||
"title": "Diese Instanz hat noch keine {target}-App hinterlegt.",
|
||||
"detail": "Trage deine eigenen Zugangsdaten unter Einstellungen → Integrationen ein, dann kann die Verbindung starten."
|
||||
},
|
||||
"state": {
|
||||
"pending_first_sync": {
|
||||
"title": "{target} ist verbunden.",
|
||||
"detail": "Die erste Synchronisierung läuft. Die Werte erscheinen auf dem Dashboard, sobald sie ankommen."
|
||||
},
|
||||
"fresh": {
|
||||
"title": "{target} ist schon verbunden.",
|
||||
"detail": "Letzter Wert {when}. Hier gibt es nichts mehr zu tun."
|
||||
},
|
||||
"stale": {
|
||||
"title": "{target} ist verbunden, aber es kommt gerade nichts an.",
|
||||
"detail": "Letzter Wert {when}. Die Verbindung selbst ist in Ordnung."
|
||||
},
|
||||
"stalled": {
|
||||
"title": "{target} ist verbunden, aber es wird nicht mehr synchronisiert.",
|
||||
"detail": "Letzter Versuch {when}. Prüfe die Verbindung unter Einstellungen → Integrationen."
|
||||
},
|
||||
"failing": {
|
||||
"title": "{target} ist verbunden, aber die Synchronisierung schlägt fehl.",
|
||||
"detail": "Ohne Erfolg seit {when}. Prüfe die Verbindung unter Einstellungen → Integrationen."
|
||||
},
|
||||
"reauth_required": {
|
||||
"title": "Die Verbindung zu {target} muss erneuert werden.",
|
||||
"detail": "Einmal neu anmelden, dann laufen die Werte weiter."
|
||||
},
|
||||
"parked": {
|
||||
"title": "Die Verbindung zu {target} ist pausiert.",
|
||||
"detail": "Prüfe die Verbindung unter Einstellungen → Integrationen."
|
||||
}
|
||||
}
|
||||
},
|
||||
"add-medication": {
|
||||
"title": "Dein erstes Medikament hinzufügen",
|
||||
|
||||
Reference in new issue
Block a user