Repository navigation
fix(account): keep a new-device row whose sign-in method this app does not know - #5171
Conversation
…s not know One row with a provider other than github, google or apple (a newer service's method, a staging test sign-in) made the app drop the whole new-device feed, so no card showed. The row is kept and shown without its method; a row that is not well formed still voids the feed, which keeps the PC journal cursor where it is.
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
Merged through Reviews: dori review (omo + Codex) CLEAR at 5da206c. Found by the staging check of #5167. |
A row of the new-device feed whose sign-in method this app does not know (a newer service's provider, or a staging test sign-in) made
deviceSigninsdrop the whole feed, so the "A new device signed in" card never showed and every account-level notice fell back to the per-PC ones.provider: null, and the card leaves out the "{method} sign-in" part for it.Found in the staging check of #5167 (staging sign-ins use the
testmethod): the service returned the row and the app showed no card.Checks
src/lib/account/deviceSignins.test.ts: the new case fails without the change and passes with it.src/App.deviceNotices.test.tsx(35) andbun run typecheckpass.