|
Some checks failed
Test and SonarQube / quality (push) Has been cancelled
Adds "Edit boxes" mode to article review: drag an already-detected
region to move it, its corner handle to resize it, or press its x to
delete it -- for correcting a box the layout engine got wrong, not one
it missed entirely ("Draw it" still covers that case). Moving or
resizing opens a confirm panel; "Save" keeps the region's existing
text at its new position, and for text regions "Save & re-OCR" reads
the corrected area again and replaces the text.
New core/magazine.py update_region()/delete_region() and PATCH/DELETE
/api/magazine/{doc}/pages/{page}/regions/{block_id}. An image region
is re-cropped from the page render whenever its bbox changes, since
its saved file is exactly that crop.
Live-verified against the real ingested c't KI Wissen 2026 magazine:
add -> move -> move+re-OCR (correctly kept old text when the corrected
area had nothing readable) -> delete -> confirmed gone, repeat delete
404s.
275 tests passing.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| fixtures | ||
| bundle.spec.js | ||
| characters.spec.js | ||
| constrained.spec.js | ||
| i18n.spec.js | ||
| lazy-loading.spec.js | ||
| magazine.spec.js | ||
| rehearser.spec.js | ||
| smoke.spec.js | ||
| test_conversation.py | ||
| test_docker_client.py | ||
| test_magazine_routes.py | ||
| test_magazine.py | ||
| test_provider_health.py | ||
| test_security.py | ||