openreader/src/lib/client
Richard R 5428a21b67 refactor(onboarding): modularize onboarding flow logic and improve testability
Extract onboarding flow step resolution and async runner logic into a
dedicated module for better separation of concerns and maintainability.
Refactor context/provider to use new helpers and simplify settings modal
control. Add unit tests for onboarding step resolution and async runner
coalescing. Update e2e helpers and selectors for onboarding modals.
Adjust environment file handling for CI and Docker contexts.

- Add .dockerignore for build hygiene
- Refactor onboarding context and modal logic
- Add src/lib/client/onboarding-flow.ts with core onboarding helpers
- Add onboarding-flow unit tests
- Update Playwright config and scripts for CI env loading
- Improve test selectors for claim modal
- Update .gitignore to exclude all .env* except .env.example

This change increases onboarding logic modularity and reliability, and improves CI/test environment handling.
2026-05-29 18:03:17 -06:00
..
api feat(pdf): enable opId tracking and propagation for layout parsing operations 2026-05-27 02:35:46 -06:00
audiobooks chore(config): remove smartSentenceSplitting option and related code paths 2026-05-20 04:51:10 -06:00
cache Fix flaky document preview blob URL reuse 2026-05-28 04:23:12 -06:00
config feat(tts,config,types): migrate to providerRef/providerType model and add centralized TTS provider policy 2026-05-13 10:11:05 -06:00
epub chore(config): remove smartSentenceSplitting option and related code paths 2026-05-20 04:51:10 -06:00
html feat(html): add HTML/TXT/MD sentence and word highlighting, settings, and audiobook export support 2026-05-17 11:14:02 -06:00
pdf Add force-reparse confirmation flow in PDF UI 2026-05-21 10:34:29 -06:00
settings chore(config): remove Deepinfra model gating and related admin setting 2026-05-13 18:42:40 -06:00
tts Retry errored TTS segments with cooldown and retry-after 2026-05-14 08:31:40 -06:00
analytics.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-client.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
changelog-check.ts refactor(settings): extract changelog check logic to reusable utility 2026-05-14 10:58:32 -06:00
changelog.ts feat(changelog): add changelog feed support and settings integration 2026-05-14 09:45:04 -06:00
dexie.ts feat(doclist): unify document identity handling and improve drag-and-drop robustness 2026-05-28 22:27:15 -06:00
epub.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
onboarding-flow.ts refactor(onboarding): modularize onboarding flow logic and improve testability 2026-05-29 18:03:17 -06:00
pdf-block-text.ts refactor(pdf): implement ONNX-based Docling layout parsing and block-level TTS for PDFs 2026-05-17 21:18:51 -06:00
pdf-highlight-worker.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
pdf-tts-planning.ts chore(config): remove smartSentenceSplitting option and related code paths 2026-05-20 04:51:10 -06:00
pdf.ts refactor(pdf): remove legacy text extraction and update parse status normalization 2026-05-19 19:11:51 -06:00
sha256.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