openreader/src/contexts
Richard R efe6ffec86 fix(nlp): add EPUB-specific text splitting for TTS blocks
Introduce `splitTextToTtsBlocksEPUB` function to handle EPUB text splitting,
treating single newlines as paragraph boundaries for precise highlighting.
Update TTS context to conditionally use EPUB splitting based on document type.
Enhance PDFViewer to clear highlights when current sentence is null.
Add comprehensive tests for the new functionality and refactor existing ones.
2026-01-21 14:04:19 -07:00
..
ConfigContext.tsx feat: Display a toast notification after library migration, powered by new migration status in the API response. 2026-01-19 15:27:07 -07:00
DocumentContext.tsx refactor(db): migrate to Dexie with reactive queries and simplify data layer 2025-11-14 16:14:00 -07:00
EPUBContext.tsx refactor: overhaul document storage and audiobook architecture 2026-01-19 14:22:21 -07:00
HTMLContext.tsx refactor(core): standardize module structure and enhance TTS types 2025-11-16 15:12:35 -07:00
PDFContext.tsx refactor(nlp): improve text splitting and normalization for TTS blocks 2026-01-21 12:09:59 -07:00
ThemeContext.tsx Fix initial system theme 2025-02-19 12:32:16 -07:00
TTSContext.tsx fix(nlp): add EPUB-specific text splitting for TTS blocks 2026-01-21 14:04:19 -07:00