openreader/src/app
Richard R 62c913e96d feat(pdf): refactor parse operation orchestration and client readiness flow
Introduce startPdfParseOperation to encapsulate worker operation creation, job rate tracking, and parse state initialization for PDFs. Replace scattered operation setup logic in register-upload, docx-to-pdf upload, and parse-state-backfill with this unified helper. Update job enqueuing to propagate initial opId/jobId/status for accurate state tracking.

Change getParsedPdfDocument to throw on non-ready states and remove polling logic from usePdfDocument, shifting readiness detection to event streams. Switch API responses for non-ready parses from 202 to 409 to clarify client expectations and simplify error handling.

Add targeted tests to verify legacy backfill behavior and ensure no worker operation is created for pure data fetches of pending legacy PDFs.

BREAKING CHANGE: API now returns 409 Conflict for non-ready parsed PDFs instead of 202, and clients must subscribe to event streams for parse progress.
2026-06-04 10:52:49 -06:00
..
(app) feat(pdf): refactor parse operation orchestration and client readiness flow 2026-06-04 10:52:49 -06:00
(public) Redesign: shared UI design system + app-wide migration (#96) 2026-06-01 16:17:12 -06:00
api feat(pdf): refactor parse operation orchestration and client readiness flow 2026-06-04 10:52:49 -06:00
apple-icon.png Apple web app capable changes 2025-01-26 16:49:05 -07:00
favicon.ico Apple web app capable changes 2025-01-26 16:49:05 -07:00
globals.css feat: improve PDF parsing recovery and reader UI (#98) 2026-06-03 04:44:55 -06:00
icon.png Apple web app capable changes 2025-01-26 16:49:05 -07:00
icon.svg Apple web app capable changes 2025-01-26 16:49:05 -07:00
layout.tsx feat(shared): centralize origin validation logic and update metadata usage 2026-05-31 16:41:47 -06:00
manifest.json refactor: rename project from OpenReader WebUI to OpenReader across all relevant files. 2026-02-18 02:49:47 -07:00
providers.tsx refactor(auth): remove redundant authEnabled flag from contexts and components 2026-05-31 13:10:01 -06:00