feat: Adds an OCR subpage #100

Merged
theis merged 2 commits from select-text-to-extract-paint into main 2026-08-30 16:47:10 +00:00
Owner

Adds an OCR subpage: renders the PDF client-side with pdf.js, lets the user brush/erase/marquee word boxes per page, autosaves the selection to a new ocr_selection JSONB column, and "Apply to text" assembles selected words into content. OCR job controls move from the Text page to this page. Solid structure overall: selection state normalized (default + per-page overrides), word geometry isolated in tested pure functions, pdf.js lazy-loaded and wasm assets handled via predev/prebuild.

Adds an OCR subpage: renders the PDF client-side with pdf.js, lets the user brush/erase/marquee word boxes per page, autosaves the selection to a new ocr_selection JSONB column, and "Apply to text" assembles selected words into content. OCR job controls move from the Text page to this page. Solid structure overall: selection state normalized (default + per-page overrides), word geometry isolated in tested pure functions, pdf.js lazy-loaded and wasm assets handled via predev/prebuild.
feat: cleaned up before merge
All checks were successful
/ test-frontend (push) Successful in 51s
/ test-backend (push) Successful in 1m35s
fe7a2b8239
theis merged commit bc4b8229af into main 2026-08-30 16:47:10 +00:00
theis deleted branch select-text-to-extract-paint 2026-08-30 16:47:10 +00:00
theis referenced this pull request from a commit 2026-08-30 16:47:10 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
theis/webspeaker!100
No description provided.