mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-11 17:34:03 +01:00
The package shipped feedback helpers while todo still had a private _showSnack and a raw SnackBar in note_editor -- exactly the duplication the extraction was meant to end, left live in a repo that had just adopted the package. Two deliberate behaviour changes come with it: the duration goes 2s -> 3s for toasts and 5s for errors (an error the user missed is an error they will hit again), and messages now replace rather than queue, since a queued snackbar describes an action the user moved on from seconds ago. No test asserted on either, and the one snackbar assertion in the suite checks that capture is *not* interrupted by one, which still holds. Failures now read as failures: the mode-switch rejection in note_editor and a failed sync in capture_screen use showError, while a successful sync and the not-configured hint stay neutral toasts. Spending the danger hue on routine confirmations is how a real failure becomes invisible. Verified: flutter analyze clean, 308 tests pass at 100% coverage (1964/1964). The release APK built and installed, but on-device re-verification could not complete: the 23:00 night curfew removed the package ~80ms after install, because dev.kuhy.todo is in the focus-mode day WHITELIST but not NIGHT_WHITELIST. Enforcer working as designed, not an app fault -- reverify after 05:00. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XS1m7b1piBtAL22USLW6jL |
||
|---|---|---|
| .. | ||
| capture_app_bar.dart | ||
| capture_draft.dart | ||
| capture_screen_sync.dart | ||
| capture_screen_widget.dart | ||
| capture_screen.dart | ||
| capture_status_footer.dart | ||
| capture_status.dart | ||
| capture_sync_runner.dart | ||
| device_code_dialog.dart | ||
| github_mirror_screen_widget.dart | ||
| github_mirror_screen.dart | ||
| markdown_view.dart | ||
| note_actions_sheet.dart | ||
| note_date_range_field.dart | ||
| note_detail_screen.dart | ||
| note_editor_chrome.dart | ||
| note_editor_document.dart | ||
| note_editor_mode.dart | ||
| note_editor_raw_field.dart | ||
| note_editor_step_page.dart | ||
| note_editor_views.dart | ||
| note_editor_widget.dart | ||
| note_editor_wizard.dart | ||
| note_editor.dart | ||
| note_form_chrome_gate.dart | ||
| note_form.dart | ||
| note_meta_row.dart | ||
| note_tile.dart | ||
| notes_filter_sheet.dart | ||
| notes_list_navigation.dart | ||
| notes_list_screen.dart | ||
| settings_screen.dart | ||