Sean McElwain
5cc8b76270
feat: document-level review flags + training exports + UI export buttons
...
- added DocumentReviewState model (approved/excluded/reviewed)
- wired review flags into document detail UI
- added document training JSONL export
- added line item training JSONL export
- filtered exports based on review state
- added export buttons to documents list page
- removed redundant success messaging in UI
2026-04-18 16:05:14 -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
9ebaa6f99e
refactor: use time-based hex document ids for new ingests
2026-04-07 13:51:47 -05:00
Sean McElwain
13590aeeca
ui: make document type save inline with input
2026-04-07 12:53:14 -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
fcd70ec256
feat: add dashboard landing page and return quality review to queue tab
2026-04-06 18:54:18 -05:00
Sean McElwain
5cef8f9b59
feat: fold quality review into queue tabs
2026-04-06 17:56:58 -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
c7dab22f16
feat: improve receipt extraction with reference number and line item pairing
2026-04-06 14:51:05 -05:00
Sean McElwain
87ce5cc2fb
fix: OCR editor gutter scroll sync + synthetic layout on ingest + CSS consolidation
2026-04-06 12:07:26 -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
Sean McElwain
e67a67f80a
feat: Phase 3.5 add line-preserving OCR review and corrected searchable PDF generation
2026-04-03 11:56:23 -05:00
Sean McElwain
0d70e6b7bb
feat: Phase 3.5 add inbox/upload/server ingest, OCR rerun, and text version tracking
2026-04-03 08:38:13 -05:00
Sean McElwain
6ec58f848b
feat: add Phase 3 reviewed OCR editing with versioned persistence
2026-04-02 10:50:41 -05:00
Sean McElwain
6cdf5d6dd9
feat: add Phase 2 test ingest flow with document list and detail pages
2026-04-02 10:19:06 -05:00
Sean McElwain
6d782003fd
Phase 1: added models for documents, OCR text, extracted fields, and Layer 1 candidates
2026-04-02 09:20:01 -05:00
Sean McElwain
8b3b4f968a
initial project structure
2026-03-31 20:45:15 -05:00