openreader/tests/unit
Richard R e8d4c11434 refactor(tts,epub,locator): introduce canonical segment keys and locator comparison utilities
Refactor TTS segment identification to support canonical segment keys, decoupling segment IDs from locator and index for more robust deduplication and handoff. Add `segmentKey` to segment types, manifest, and ensure route. Implement natural sorting for EPUB CFI locations and segment locators using new comparison utilities. Update sidebar and manifest helpers to use locator-aware sorting. Add foundational modules for EPUB word highlighting, TTS segment planning, and EPUB handoff logic. Expand types and tests to cover new canonical segment and locator behaviors.

BREAKING CHANGE: TTS segment IDs now support canonical segment keys; APIs and manifest consumers must handle `segmentKey` and updated locator comparison logic.
2026-05-11 05:17:41 -06:00
..
audiobook-scope.spec.ts 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
audiobook.spec.ts 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
audiobooks-blobstore.spec.ts 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
auth-config.spec.ts 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
docstore.spec.ts 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
document-cache.spec.ts 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
document-previews-render.spec.ts 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
epub-word-highlight.spec.ts refactor(tts,epub,locator): introduce canonical segment keys and locator comparison utilities 2026-05-11 05:17:41 -06:00
kokoro.spec.ts refactor(tts): update Replicate model defaults and voice resolution 2026-04-16 12:52:08 -06:00
nlp.spec.ts feat(tts,config,ui): add advanced segment preloading and block length controls 2026-05-07 12:26:08 -06:00
sha256.spec.ts 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
transfer-user-documents.spec.ts 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
tts-epub-handoff.spec.ts refactor(tts,epub,locator): introduce canonical segment keys and locator comparison utilities 2026-05-11 05:17:41 -06:00
tts-generate.spec.ts refactor(tts): extract voice resolution logic to server module and update imports 2026-04-16 15:46:55 -06:00
tts-provider-catalog.spec.ts refactor(tts): extract voice resolution logic to server module and update imports 2026-04-16 15:46:55 -06:00
tts-segment-plan-leading.spec.ts refactor(tts,epub,locator): introduce canonical segment keys and locator comparison utilities 2026-05-11 05:17:41 -06:00
tts-segment-plan.spec.ts refactor(tts,epub,locator): introduce canonical segment keys and locator comparison utilities 2026-05-11 05:17:41 -06:00
tts-segments-manifest.spec.ts refactor(tts,epub,locator): introduce canonical segment keys and locator comparison utilities 2026-05-11 05:17:41 -06:00
tts-segments.spec.ts refactor(tts,epub,locator): introduce canonical segment keys and locator comparison utilities 2026-05-11 05:17:41 -06:00