mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 23:52:24 +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} 연결",
|
||||
"body": "답변을 바탕으로 고른 연결 하나입니다. 이후 측정값은 저절로 들어옵니다.",
|
||||
"howTo": "연결은 연동 페이지에서 합니다. 마친 뒤 이곳으로 돌아오면 이 화면이 연결을 감지합니다.",
|
||||
"howTo": "{target} 연결은 연동 페이지에서 합니다. 마친 뒤 이곳으로 돌아오면 이 화면이 연결을 감지합니다.",
|
||||
"cta": "{target} 연결",
|
||||
"checking": "연결을 확인하는 중입니다.",
|
||||
"waiting": "아직 연결되지 않았습니다.",
|
||||
"done": "{target}이(가) 연결되었습니다.",
|
||||
"syncing": "첫 동기화가 진행 중입니다. 측정값이 도착하는 대로 대시보드에 나타납니다."
|
||||
"openSettings": "설정 → 연동 열기",
|
||||
"noDate": "알 수 없음",
|
||||
"needsCredentials": {
|
||||
"title": "이 인스턴스에는 아직 {target} 앱이 등록되어 있지 않습니다.",
|
||||
"detail": "설정 → 연동에서 직접 발급받은 인증 정보를 입력하면 연결을 시작할 수 있습니다."
|
||||
},
|
||||
"state": {
|
||||
"pending_first_sync": {
|
||||
"title": "{target}이(가) 연결되었습니다.",
|
||||
"detail": "첫 동기화가 진행 중입니다. 값이 도착하는 대로 대시보드에 표시됩니다."
|
||||
},
|
||||
"fresh": {
|
||||
"title": "{target}은(는) 이미 연결되어 있습니다.",
|
||||
"detail": "마지막 값 {when}. 여기서 더 할 일은 없습니다."
|
||||
},
|
||||
"stale": {
|
||||
"title": "{target}은(는) 연결되어 있지만 지금은 값이 들어오지 않습니다.",
|
||||
"detail": "마지막 값 {when}. 연결 자체에는 문제가 없습니다."
|
||||
},
|
||||
"stalled": {
|
||||
"title": "{target}은(는) 연결되어 있지만 동기화가 멈췄습니다.",
|
||||
"detail": "마지막 시도 {when}. 설정 → 연동에서 연결을 확인하세요."
|
||||
},
|
||||
"failing": {
|
||||
"title": "{target}은(는) 연결되어 있지만 동기화가 계속 실패합니다.",
|
||||
"detail": "{when} 이후로 아무것도 들어오지 않았습니다. 설정 → 연동에서 연결을 확인하세요."
|
||||
},
|
||||
"reauth_required": {
|
||||
"title": "{target} 연결을 갱신해야 합니다.",
|
||||
"detail": "한 번 다시 로그인하면 값이 계속 들어옵니다."
|
||||
},
|
||||
"parked": {
|
||||
"title": "{target} 연결이 일시 중지되었습니다.",
|
||||
"detail": "설정 → 연동에서 연결을 확인하세요."
|
||||
}
|
||||
}
|
||||
},
|
||||
"add-medication": {
|
||||
"title": "첫 약 추가하기",
|
||||
|
||||
Reference in new issue
Block a user