todo-app/lib/ui
Krzysztof kuhy Rudnicki ea76a04388
Some checks failed
release-apk / release (APK) (push) Has been cancelled
Add the Firebase connect UI, without which the cutover could never happen
The Firebase backend has been wired up since the cutover commit, but nothing
ever called saveAccount(). openFirebase() therefore read an account that was
never written, returned null every time, and the app quietly synced over
GitHub forever -- on real hardware, regardless of what the tests said. The
same hole was found and fixed in diet-guard; it is still open in
home_inventory, workout_app, build_your_x and leetcode-guard.

Settings now has a Firebase section that stores the account and signs in
immediately, so a wrong password shows up on screen instead of as a silent
no-op later. A rejected sign-in clears the account rather than leaving it
half-stored.

The three UI problems kuhy hit in diet-guard are avoided rather than
repeated: GitHub moves into "Advanced (GitHub mirror)" instead of sitting
beside Firebase as a peer choice, and a connected account renders as
read-only text with a Disconnect button rather than an empty-looking form
that implies you still have to type something.

The keystore accessors are injectable, like firebaseFactory already was, so
the connect/reject/disconnect branches are testable without a platform
channel. 252 tests, back to 100% line coverage.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FH32BgGQbQLDstBhR26Xa
2026-08-05 09:29:41 +02:00
..
capture_screen.dart Sync through Firebase, mirroring to GitHub, and stop re-downloading peers 2026-08-04 23:36:24 +02:00
confirm.dart Confirm before deleting a note 2026-07-30 16:31:15 +02:00
markdown_view.dart warm-tint the unified-design-system palette, fix design audit violations 2026-07-22 18:56:45 +02:00
note_detail_screen.dart Confirm before deleting a note 2026-07-30 16:31:15 +02:00
note_editor.dart Default a bare-link draft to the freeform template 2026-07-26 22:13:26 +02:00
notes_list_screen.dart Confirm before deleting a note 2026-07-30 16:31:15 +02:00
settings_screen.dart Add the Firebase connect UI, without which the cutover could never happen 2026-08-05 09:29:41 +02:00
theme.dart theme.dart: define secondary/tertiary ColorScheme roles 2026-07-22 19:42:57 +02:00