openreader/src/hooks
Richard R c192d6d729 fix(epub): improve word-region cache invalidation for highlighting
Update the EPUB highlighting cache key to include aligned word texts, ensuring
that changes in alignment or word content invalidate stale cached spans even if
word counts remain unchanged. Clear the word-region cache when rendered text
maps are replaced or reset, preventing incorrect highlights after remapping.

Also add locale tracking to HTML sentence highlighting state to support
language-aware word segmentation during alignment.
2026-06-09 15:35:39 -06:00
..
audio feat(tts,config,types): migrate to providerRef/providerType model and add centralized TTS provider policy 2026-05-13 10:11:05 -06:00
epub fix(epub): improve word-region cache invalidation for highlighting 2026-06-09 15:35:39 -06:00
html feat: Refactor server-side document, audiobook, and authentication logic, introduce new client-side APIs and caching, and update related tests. 2026-02-17 19:30:12 -07:00
pdf feat: Refactor server-side document, audiobook, and authentication logic, introduce new client-side APIs and caching, and update related tests. 2026-02-17 19:30:12 -07:00
useAuthSession.ts refactor(env): remove legacy no-auth mode and enforce required auth env vars 2026-05-31 12:09:37 -06:00
useDocumentLanguage.ts docs(intro): clarify open-source status and multilingual support in introduction 2026-06-06 12:19:28 -06:00
useLibraryDocumentsQuery.ts refactor(ui): unify form primitives and simplify document selection modal 2026-05-13 18:42:31 -06:00
useReaderSidebarBounds.ts feat(reader,db): add segments sidebar and manifest API; update TTS segment schema 2026-05-04 15:02:05 -06:00
useSharedProviders.ts feat(admin,providers,contexts): integrate react-query for admin panels and shared provider state 2026-05-13 12:40:58 -06:00
useTimeEstimation.ts feat(audiobook): add chapter-based export with UI and API 2025-11-11 13:32:30 -07:00
useUnmountCleanupRef.ts feat(hooks): introduce useUnmountCleanupRef for effect cleanup abstraction 2026-05-27 16:22:14 -06:00