todo-app/lib/ui
Krzysztof kuhy Rudnicki e6e1052c59
Some checks are pending
file-length / file length <= 250 lines (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
Adopt the shared design_system package, dropping theme.dart and confirm.dart
Both files were donors for the new package rather than casualties of it:
theme.dart was byte-identical to untools' copy (md5 6cf8e82d), and
confirm.dart's confirmDestructive() was the ready-made pattern for the
~35 AlertDialogs inlined across the fleet. Keeping local copies after
promoting them upstream is exactly how the two would drift apart again,
so they are deleted and imported from design_system-v0.1.0 instead.

test/confirm_test.dart moves upstream with its subject -- the package
covers that behaviour (Escape and the barrier both refuse, Cancel is
autofocused so a reflexive Return cannot delete) as part of its own
100% gate. test/theme_test.dart stays as a consumer-side smoke check
that the dependency actually resolves to the frozen palette.

Verified: flutter analyze clean (bar one pre-existing bin/ style info),
308 tests pass at 100% coverage (1962/1962 -- the drop from 2005 is
exactly the promoted lines), and the release APK is installed and
running on the Pixel 6a with all 108 notes intact, the gold #B8862E
focus ring rendering from the package's inputDecorationTheme, and no
crashes in logcat.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XS1m7b1piBtAL22USLW6jL
2026-08-14 22:59:59 +02:00
..
capture_app_bar.dart Share one note form between capture and the detail screen 2026-08-14 17:48:39 +02:00
capture_draft.dart Split capture_screen.dart into ten files under the cap 2026-08-14 16:25:51 +02:00
capture_screen_sync.dart Share one note form between capture and the detail screen 2026-08-14 17:48:39 +02:00
capture_screen_widget.dart Split capture_screen.dart into ten files under the cap 2026-08-14 16:25:51 +02:00
capture_screen.dart Share one note form between capture and the detail screen 2026-08-14 17:48:39 +02:00
capture_status_footer.dart Split capture_screen.dart into ten files under the cap 2026-08-14 16:25:51 +02:00
capture_status.dart Split capture_screen.dart into ten files under the cap 2026-08-14 16:25:51 +02:00
capture_sync_runner.dart Split capture_screen.dart into ten files under the cap 2026-08-14 16:25:51 +02:00
device_code_dialog.dart Split the last three oversized lib/bin files 2026-08-14 16:29:35 +02:00
github_mirror_screen_widget.dart Split the last three oversized lib/bin files 2026-08-14 16:29:35 +02:00
github_mirror_screen.dart Split the last three oversized lib/bin files 2026-08-14 16:29:35 +02:00
markdown_view.dart Adopt the shared design_system package, dropping theme.dart and confirm.dart 2026-08-14 22:59:59 +02:00
note_actions_sheet.dart Adopt the shared design_system package, dropping theme.dart and confirm.dart 2026-08-14 22:59:59 +02:00
note_date_range_field.dart Enforce the 250-line file cap, and split the first four files 2026-08-14 16:01:24 +02:00
note_detail_screen.dart Adopt the shared design_system package, dropping theme.dart and confirm.dart 2026-08-14 22:59:59 +02:00
note_editor_chrome.dart Split note_editor.dart into nine files under the cap 2026-08-14 16:12:04 +02:00
note_editor_document.dart Split note_editor.dart into nine files under the cap 2026-08-14 16:12:04 +02:00
note_editor_mode.dart Split note_editor.dart into nine files under the cap 2026-08-14 16:12:04 +02:00
note_editor_raw_field.dart Adopt the shared design_system package, dropping theme.dart and confirm.dart 2026-08-14 22:59:59 +02:00
note_editor_step_page.dart Split note_editor.dart into nine files under the cap 2026-08-14 16:12:04 +02:00
note_editor_views.dart Split note_editor.dart into nine files under the cap 2026-08-14 16:12:04 +02:00
note_editor_widget.dart Split note_editor.dart into nine files under the cap 2026-08-14 16:12:04 +02:00
note_editor_wizard.dart Split note_editor.dart into nine files under the cap 2026-08-14 16:12:04 +02:00
note_editor.dart Fix three gate defects found reviewing the cap refactor 2026-08-14 17:13:31 +02:00
note_form_chrome_gate.dart Share one note form between capture and the detail screen 2026-08-14 17:48:39 +02:00
note_form.dart Share one note form between capture and the detail screen 2026-08-14 17:48:39 +02:00
note_meta_row.dart Share one note form between capture and the detail screen 2026-08-14 17:48:39 +02:00
note_tile.dart Enforce the 250-line file cap, and split the first four files 2026-08-14 16:01:24 +02:00
notes_filter_sheet.dart Enforce the 250-line file cap, and split the first four files 2026-08-14 16:01:24 +02:00
notes_list_navigation.dart Share one note form between capture and the detail screen 2026-08-14 17:48:39 +02:00
notes_list_screen.dart Share one note form between capture and the detail screen 2026-08-14 17:48:39 +02:00
settings_screen.dart Migrate Sync settings to the shared sync_settings_ui package 2026-08-12 23:25:16 +02:00