chore(transcription): track handleAnnotationDeleteRequest wiring from PR #352 #357
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?
Context
PR #352 (bulk "Alle als fertig markieren") included an unrelated change to
frontend/src/routes/documents/[id]/+page.svelte: the wiring ofhandleAnnotationDeleteRequest/onDeleteAnnotationRequest.This change is correct and was accepted in PR #352 (merged into the branch), but it was not scoped to issue #345 and has no linked issue or acceptance criteria.
Raised by Markus (Architect), Felix (Developer), and Elicit (Requirements) in the PR #352 Decision Queue (Item 2).
What was changed
In
+page.svelte, ahandleAnnotationDeleteRequestfunction was added (or wired) to handle the annotation delete confirmation flow — including aconfirm()dialog before deleting, and a fallback path toDELETE /api/documents/{id}/annotations/{annotationId}when the annotation has no linked transcription block.Acceptance criteria
Links