feat(ocr): two-phase progress indicator distinguishing preprocessing from OCR analysis #256
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
Deferred during PR #255 review cycle 1 (Markus Keller — architect review).
Concern
Both
PREPROCESSING_PAGEandANALYZING_PAGEprogress codes produce the same visual output in the OCR progress bar. Both emitcurrentPageandtotalPages, and the frontend renders them identically. On a multi-page document, the progress bar moves through a preprocessing phase, then appears to stall before the OCR phase starts — with no label change to indicate what the service is doing.Suggested approach
Add a
phasefield to theOcrProgressResultreturned bytranslateOcrProgress. The OCR overlay can read it to show a label like "Aufbereitung…" → "Analyse…" above the progress bar.Why deferred
Would require UI changes to the OCR overlay component, new i18n keys, and possible changes to the
translateOcrProgressreturn type. Out of scope for the preprocessing pipeline PR.Reference
PR: http://heim-nas:3005/marcel/familienarchiv/pulls/255
We have no progress bar anymore