Commit Graph

54 Commits

Author SHA1 Message Date
Sean McElwain 0764e698d3 Show vision suggestions from current layout version 2026-05-30 23:04:07 -05:00
Sean McElwain 74bd259bd7 Use field extraction vision model label in route 2026-05-30 21:25:55 -05:00
Sean McElwain 3aa2c78ac3 Wire vision candidate generation through backend module 2026-05-30 16:11:30 -05:00
Sean McElwain ff228b9481 Create vision-assisted layout candidate scaffold 2026-05-30 15:46:12 -05:00
Sean McElwain bec5a21650 Add backend vision analysis scaffold without editor overlay 2026-05-30 13:47:54 -05:00
Sean McElwain 6792a8629e Add local vision analysis scaffold 2026-05-28 23:51:25 -05:00
Sean McElwain 93f3086b48 Improve layout review navigation and simplify replica outputs 2026-05-28 23:05:03 -05:00
Sean McElwain 40428a9976 Clean up disabled scan-backed replica UI and route 2026-05-28 21:13:25 -05:00
Sean McElwain 7649f48890 Remove scan-backed replica and standardize replica output naming 2026-05-28 21:05:59 -05:00
Sean McElwain 6e1d497aa7 Fix replica navigation and layout review spacing 2026-05-28 17:53:02 -05:00
Sean McElwain 4dcb6ebd0e Fix layout review viewer initialization and replica tab state 2026-05-25 23:10:57 -05:00
Sean McElwain 474ab010fe Unify OCR and layout review canonical state 2026-05-25 18:03:55 -05:00
Sean McElwain ea314d733d Fix layout review selected-word style persistence 2026-05-25 16:55:27 -05:00
Sean McElwain ebd8a3eed2 Add diagnostic candidate output versions 2026-05-24 22:49:06 -05:00
Sean McElwain 9db0bb7f5c Add diagnostic document conversion outputs 2026-05-24 21:28:44 -05:00
Sean McElwain 9fcef4cacd Fix layout review save flow and respect word font sizes in replica rendering 2026-05-24 14:28:26 -05:00
Sean McElwain fbdef46220 Add layout style editing controls and normalize review style data 2026-05-11 21:35:55 -05:00
Sean McElwain b84b259f08 Add interactive layout review editor with mobile UI and font controls 2026-05-10 22:18:13 -05:00
Sean McElwain 658240c031 Implement bidirectional OCR and layout review sync 2026-05-10 15:06:19 -05:00
Sean McElwain 3f81d1a198 Add in-browser OCR overlay toggle controls 2026-05-09 17:55:29 -05:00
Sean McElwain 8c6e862799 Add debug overlay replica preview and save mode 2026-05-09 15:45:22 -05:00
Sean McElwain d292b2d00d Add layout OCR pipeline and clean replica generation 2026-05-09 15:06:20 -05:00
Sean McElwain 610f25c2b8 update app 2026-05-07 13:02:38 -05:00
Sean McElwain c19753ec04 chore: remove dead PDF artifact imports and clean backup artifacts 2026-04-28 22:48:37 -05:00
Sean McElwain 0617ab58c4 refactor: make save-pdf update canonical file without creating artifact versions 2026-04-28 22:35:56 -05:00
Sean McElwain b1e059fe05 feat: improve document detail UI and disable deprecated PDF save routes 2026-04-28 22:25:53 -05:00
Sean McElwain bb68af783c fix: restore detail tabs and refine mobile detail controls 2026-04-26 14:17:44 -05:00
Sean McElwain 16646b3062 feat: add session auth and mobile shell/detail UI polish 2026-04-22 22:31:09 -05:00
Sean McElwain 28b6157daf feat: expand document training export with OCR and naming targets 2026-04-18 16:43:03 -05:00
Sean McElwain 57400ab9db feat: add document review flags and training exports
- added document review state model and top-level review toggles
- added document training export jsonl route
- added line item training export jsonl route
- wired approved/excluded review workflow into training filters
2026-04-18 15:45:29 -05:00
Sean McElwain 2521ebd503 feat: Phase 4.4 line item review workflow
- added queue tab to line items page
- added reviewed/approved/excluded/na review toggles
- made reviewed items leave the queue
- added line item source restore controls
- added regenerate line items from OCR
2026-04-18 12:21:36 -05:00
Sean McElwain fcce99a091 feat: Phase 4.3 queue + line item polish
- migrated line item queue to generic document line items
- added detected-count line item rows with add-row
- restored rerun OCR in OCR review tab
- improved line item dates and title case
2026-04-17 20:26:53 -05:00
Sean McElwain bb8cde4c47 feat: Phase 4.2 version display + source options (OCR/extracted/additional) 2026-04-17 10:03:31 -05:00
Sean McElwain e15612184d feat: WIP field versioning (extracted + additional snapshots wired, preparing restore/reset) 2026-04-11 22:59:56 -05:00
Sean McElwain 871ae5401f feat: WIP line item system (schema + models + initial integration, mapper fixes pending) 2026-04-11 22:15:15 -05:00
Sean McElwain 1e37a80894 feat: add file size tracking and formatting
- store file_size_bytes on versions
- add human_size() utility
- display normalized sizes in UI

enables size vs fidelity analysis
2026-04-11 19:28:48 -05:00
Sean McElwain f1d896a9ed feat: add reviewed documents JSONL export endpoint 2026-04-11 18:16:13 -05:00
Sean McElwain f26f7ddc03 feat: embed PDF metadata for saved versions and validate available versions by metadata match 2026-04-11 17:51:41 -05:00
Sean McElwain c9fdf953e7 feat: unified save flow, path override UI, mirror sync, and automatic pruning of old document versions 2026-04-11 15:11:59 -05:00
Sean McElwain 1cf42242f7 feat(storage): canonical owner-based document paths and overwrite-safe PDF saves
- derive storage path from owner_primary (fallback default)
- route OCR-corrected and field-enriched outputs to canonical records path
- support explicit output_path for save flows
- prevent SameFileError when overwriting canonical file
- keep version history while using stable canonical file path
2026-04-11 09:14:22 -05:00
Sean McElwain f1df9c29bb feat: add editable document type with autocomplete suggestions 2026-04-07 12:49:06 -05:00
Sean McElwain aa7f8d6a54 feat: unify dashboard, documents, queue, and line item navigation UI 2026-04-07 12:32:49 -05:00
Sean McElwain ba710db9fa feat: add additional fields, presets, and ownership model (primary/secondary) 2026-04-07 11:25:03 -05:00
Sean McElwain 9db8aadfdf feat: add document presets for additional fields defaults 2026-04-07 07:27:16 -05:00
Sean McElwain 4f10978989 refactor: use shared sidebar partial across templates 2026-04-06 16:31:40 -05:00
Sean McElwain d14ee39cc8 feat: add receipt line item model and document wiring 2026-04-06 14:52:10 -05:00
Sean McElwain 431372438e feat: finalized Phase 3.5/4.1 workflow and added queue-trash plus UX-1 shell 2026-04-05 12:05:19 -05:00
Sean McElwain bb22e2585a feat: add review queue and trash workflow 2026-04-03 18:22:18 -05:00
Sean McElwain 5b9e8f0d01 feat: Phase 4.1 add manual-first extracted fields from reviewed OCR 2026-04-03 16:47:38 -05:00
Sean McElwain bdaff6f781 feat: Phase 3.5 add line-preserving OCR review and corrected searchable PDF generation 2026-04-03 15:07:51 -05:00