mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-10 21:07:02 +01:00
The desktop and phone split-brained for 5 days (39 vs 30 notes) after the crdt_sync cutover because one device kept running the pre-migration build — and nothing in the UI ever said a sync had failed or skipped a peer: - SyncResult now reports peer files that were listed but couldn't be fetched/decoded (skippedFiles) instead of dropping them silently. - Auto-sync no longer swallows errors: every sync (manual or automatic) records a persisted last-sync status shown in a status line under the editor, with failures in the error color. - Desktop actually background-syncs now: focus loss (inactive/hidden, debounced 5s) triggers a sync — Flutter Linux rarely delivers the `paused` event the old code relied on. `paused` still syncs immediately for Android. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K5C5jZ2c4mTaGedK7C1dDv |
||
|---|---|---|
| .. | ||
| capture_screen_test.dart | ||
| fake_note_repository.dart | ||
| fake_secure_storage.dart | ||
| github_device_auth_test.dart | ||
| local_backup_test.dart | ||
| markdown_view_test.dart | ||
| note_detail_screen_test.dart | ||
| note_editor_test.dart | ||
| note_repository_test.dart | ||
| note_template_test.dart | ||
| note_test.dart | ||
| notes_list_screen_test.dart | ||
| notes_markdown_test.dart | ||
| settings_screen_test.dart | ||
| sync_service_test.dart | ||
| sync_settings_test.dart | ||