Let users delete a concept (draft) #221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
Problem
A user can create new-message concepts and reply drafts (they autosave), open, edit and send/schedule them - but there is no way to delete or discard a concept without sending it. A concept only disappears when it is sent or scheduled, so someone who changes their mind is stuck with it.
frontend/src/routes/ConceptBerichten.vue): a row click only opens the concept (openRow); there is no delete action.deleteDraft(useDeleteNewMessageDraft) exists but only fires internally on send/schedule success.hasBody), so this is only about discarding a concept that already has content.Surfaced during manual testing of the new-message composer (PR #192).
Proposal
DELETE /api/new-message-draft/{id}(useDeleteNewMessageDraft).DELETE /api/cards/{cardId}/draft(useDeleteDraft).Notes
aria-label(e.g.Verwijder concept: <preview>); keep the row's existing keyboard/open behaviour intact.