todo-app/lib/data
Krzysztof kuhy Rudnicki d145f92a07 Split note_repository.dart, taking coverage to 100%
429 -> 249 lines:

  note_query.dart   NoteSort, NoteFilter, and the pure predicates behind
                    them (matchesFilter, comparatorFor). All of it takes
                    notes and a filter and returns a decision, which is what
                    made it the natural seam.
  note_import.dart  ImportOutcome and the in-memory LogPersistence used by
                    openInMemory.

note_repository.dart re-exports both, so no call site changed.

Also drops ImportOutcome.total, which nothing called. It was uncovered
before this split too -- the larger file's percentage hid it. With it gone
the suite reports 100% line coverage (2005 lines), up from the 99.9%
baseline measured at the start of this refactor.

lib/ and bin/ are now fully under the cap. 313 tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-14 16:32:06 +02:00
..
app_settings.dart Simplify capture UI behind an advanced-mode toggle, add usage analytics 2026-08-12 21:30:40 +02:00
desktop_backup_client.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
legacy_sqlite_migration.dart Restore notes at their own edit time, not "now" 2026-07-20 14:24:13 +02:00
note_import.dart Split note_repository.dart, taking coverage to 100% 2026-08-14 16:32:06 +02:00
note_query.dart Split note_repository.dart, taking coverage to 100% 2026-08-14 16:32:06 +02:00
note_repository.dart Split note_repository.dart, taking coverage to 100% 2026-08-14 16:32:06 +02:00
note_template_parser.dart Enforce the 250-line file cap, and split the first four files 2026-08-14 16:01:24 +02:00
note_template.dart Enforce the 250-line file cap, and split the first four files 2026-08-14 16:01:24 +02:00
note.dart Switch to very_good_analysis, matching the rest of the Flutter ecosystem 2026-07-20 11:05:13 +02:00
repository_factory_io.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
repository_factory_web.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
repository_factory.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
web_log_persistence.dart Add the desktop wrapper, and stop the test suite eating BACKLOG.md 2026-07-20 13:33:25 +02:00