Go to file
Krzysztof kuhy Rudnicki 85edd6ba02 feat: annotations subsystem — core models, drift DB, cubits, and UI
Add the complete annotations feature for marking and annotating script text:

Core models (horatio_core):
- TextMark, LineNote, AnnotationSnapshot, MarkType, NoteCategory
- Script.id field + UUID generation in text_parser

Database layer (horatio_app):
- Drift tables: text_marks, line_notes, annotation_snapshots
- AppDatabase with AnnotationDao (full CRUD + streams + bulk replace)

State management:
- AnnotationCubit: mark/note CRUD, line selection, editing context
- AnnotationHistoryCubit: snapshot save/restore with stream updates

UI components:
- MarkOverlay: colored span rendering for text marks
- NoteIndicator: per-line note count badge
- MarkTypePicker: 6-type ActionChip selector
- NoteEditorSheet: category dropdown + text field bottom sheet
- AnnotationEditorScreen: full editor with long-press marks + note editing
- AnnotationHistoryScreen: snapshot timeline with restore dialog

Wiring:
- main.dart: async DB init with path_provider
- app.dart: RepositoryProvider<AnnotationDao>
- router.dart: /annotations + /annotation-history routes
- role_selection_screen: Annotate Script option
- run.sh: app_codegen step + coverage filtering for generated code

352 tests (105 core + 247 app), 100% branch coverage, zero dead code.
2026-03-29 17:59:26 +02:00
C feat: added run sh and makefile scripts 2026-02-22 22:00:50 +01:00
CPP feat: optimized isbn number calculations 2026-02-22 22:19:28 +01:00
horatio feat: annotations subsystem — core models, drift DB, cubits, and UI 2026-03-29 17:59:26 +02:00
pomodoro_app fix: resolve all pre-commit hook failures after file splits 2026-03-18 22:20:05 +01:00
python_pkg Remove tracked binary files and add aggressive Copilot exclusions 2026-03-25 20:59:47 +01:00
robotgo_demo feat: robotgo improvements in phone focus bluetooth and printer scripts 2026-03-09 18:34:15 +01:00
sonic_pi feat: text learning pipe 2025-12-27 17:22:17 +01:00
TS feat: great beautiful fixes 2026-02-20 01:17:53 +01:00