openreader/tests
Richard R f9adba791d feat(tts,epub,db): enforce stable EPUB segment locators and add segmentKey identity
Implement strict validation for EPUB TTS segment locators, requiring stable spine coordinates (`spineHref`, `spineIndex`, `charOffset`) and rejecting legacy CFI-only locators. Introduce `segmentKey` as a normalized identity derived from segment text, used for robust merging and deduplication of synthesized and persisted segments. Update database schemas, API routes, and manifest logic to support the new locator format and segmentKey. Add helpers for locator resolution and segmentKey construction, with comprehensive unit tests for identity, normalization, and manifest grouping.

BREAKING CHANGE: Persisted EPUB TTS segment locators must now include stable spine coordinates; legacy CFI-only locators are no longer accepted. Consumers must handle the new `segmentKey` field for segment identity and merging.
2026-05-12 16:18:36 -06:00
..
files feat(tts): add smart sentence continuation 2025-11-14 12:00:03 -07:00
unit feat(tts,epub,db): enforce stable EPUB segment locators and add segmentKey identity 2026-05-12 16:18:36 -06:00
accessibility.spec.ts refactor(tts): enhance pause handling and centralize TTS test helpers 2026-05-04 19:38:23 -06:00
delete.spec.ts feat(ui): add five new light themes and redesign settings modal 2026-03-19 10:24:16 -06:00
export.spec.ts test(ui,tests): stabilize audiobook export tests and harden settings modal interactions 2026-04-06 09:59:37 -06:00
folders.spec.ts refactor(documents): migrate from IndexedDB to server-backed storage with caching 2026-02-08 11:15:57 -07:00
global-teardown.ts feat(tts): add TTS segments API, schema, storage, and manifest endpoints 2026-05-04 10:18:56 -06:00
helpers.ts refactor(tts): enhance pause handling and centralize TTS test helpers 2026-05-04 19:38:23 -06:00
landing-routing.spec.ts feat(auth): implement session gatekeeping and architectural reorganization 2026-02-15 11:12:42 -07:00
navigation.spec.ts feat(tts,config,ui): add advanced segment preloading and block length controls 2026-05-07 12:26:08 -06:00
play.spec.ts refactor(tts): enhance pause handling and centralize TTS test helpers 2026-05-04 19:38:23 -06:00
upload.spec.ts refactor: update document section title from 'Local Documents' to 'Your Documents' 2026-04-16 20:13:01 -06:00