text-extraction-improvements #24

Merged
gpatti merged 4 commits from text-extraction-improvements into main 2026-04-13 16:29:26 +00:00

4 Commits

Author SHA1 Message Date
Garret Patti
fea55594d0 add ai job queue 2026-04-13 12:29:09 -04:00
Garret Patti
8557c80c52 reduce api calls for text extraction 2026-04-13 11:18:39 -04:00
Garret Patti
68b1ed94ea fix vertical image clipping in viewer 2026-04-13 10:53:05 -04:00
Garret Patti
e31a9667ef text extraction improvements: editable text and source language hint
- Extracted text in the tag panel is now an editable textarea; a Save
  button appears when the content is dirty and persists edits to the DB
- Source language input added next to Re-translate button; when filled,
  the translation prompt uses "translate from X to Y" for more accurate
  results
- New updateExtractedText() helper and PATCH /api/ai-tagging/fields
  endpoint to support saving edited text
- translateItemText/translateText accept optional sourceLanguage param

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 10:29:47 -04:00