mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 16:43:05 +02:00
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.
22 lines
378 B
YAML
22 lines
378 B
YAML
name: horatio_core
|
|
description: >-
|
|
Core library for Horatio — script parsing, SM-2 spaced repetition,
|
|
and memorization planning for actors.
|
|
version: 0.1.0
|
|
publish_to: none
|
|
|
|
environment:
|
|
sdk: ^3.11.0
|
|
|
|
dependencies:
|
|
archive: ^4.0.0
|
|
collection: ^1.18.0
|
|
meta: ^1.16.0
|
|
uuid: ^4.5.1
|
|
xml: ^6.5.0
|
|
|
|
dev_dependencies:
|
|
lints: ^6.0.0
|
|
test: ^1.25.6
|
|
coverage: ^1.11.0
|