openreader/tests
Richard R cb9ca37500 refactor(epub): unify TTS segment planning with canonical windowing
Consolidate EPUB TTS segment planning around a single canonical windowing model.
Introduce `epub-canonical-window.ts` to provide stable, viewport-independent
segment windows for both playback and sidebar. Refactor segment planning,
prefetching, and playback handoff to use canonical ordinals and keys, ensuring
that segments straddling page breaks are uniquely identified and never replayed
across pages. Update TTSContext, SegmentsSidebar, and related hooks to support
windowed canonical segments and precise ordinal continuity. Extend types and
interfaces to carry canonical segment metadata and windowing context.

Add comprehensive unit tests for canonical window selection, segment
materialization, and cache behavior.

BREAKING CHANGE: EPUB TTS segment planning, playback, and sidebar now rely on
canonical windowing, affecting segment key generation and playback logic.
2026-06-08 18:35:18 -06:00
..
files docs(intro): clarify open-source status and multilingual support in introduction 2026-06-06 12:19:28 -06:00
unit refactor(epub): unify TTS segment planning with canonical windowing 2026-06-08 18:35:18 -06:00
accessibility.spec.ts Redesign: shared UI design system + app-wide migration (#96) 2026-06-01 16:17:12 -06:00
delete.spec.ts refactor(env): remove legacy no-auth mode and enforce required auth env vars 2026-05-31 12:09:37 -06:00
export.spec.ts tests: harden pdf readiness waits and extend tts/pdf timeouts 2026-05-24 20:58:57 -06:00
folders.spec.ts test(folders): use escaped regex for file name matching in drag-and-drop tests 2026-06-04 18:21:40 -06:00
global-teardown.ts Refactor user data cleanup and TTS storage flows (#105) 2026-06-07 13:33:20 -06:00
helpers.ts test(folders): use escaped regex for file name matching in drag-and-drop tests 2026-06-04 18:21:40 -06:00
landing-routing.spec.ts refactor(settings): remove enableDestructiveDeleteActions runtime flag and related UI 2026-06-01 20:38:54 -06:00
navigation.spec.ts feat(pdf): introduce parser versioning and playback readiness state 2026-06-03 18:51:29 -06:00
play.spec.ts tests: harden pdf readiness waits and extend tts/pdf timeouts 2026-05-24 20:58:57 -06:00
upload.spec.ts refactor(upload): unify docx-to-pdf conversion into finalize handler and remove legacy route 2026-06-04 13:00:05 -06:00