Entry/Motif delete & remove failures are silent #106
Labels
No labels
bug
duplicate
enhancement
future
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rbrooks/TeaLeaves#106
Loading…
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?
Severity: Medium · Confidence: High · Effort: S · Category: ui
Evidence
app/src/pages/Entries/EntryDetailPage.tsx:81-90-handleDeletecatch resets state, renders no error.app/src/pages/Motifs/MotifDetailPage.tsx:86-104-handleDelete/handleRemoveEntry/handleDeleteConnectionsurface no error;handleDeletehas no loading/disabled state.Problem
When a delete/remove request fails (network blip, permission change, stale row), the button returns to idle with zero explanation. The user can't tell whether it succeeded.
Impact
Ambiguous outcome on destructive actions; a user may assume a delete worked when it didn't, or retry blindly.
Fix
Set and render an
errorstring on catch, matching TagManagement.tsx:38-43 / CategoryManagement.tsx:75-92.Acceptance criteria
Filed from the 2026-07-15 codebase audit. Full report:
docs/.internal/report-2026-07-15.md(gitignored).Failed entry/motif delete, motif-entry remove, and connection delete now surface the error — inline on the entry page, a dismissible banner on the motif page — and the motif delete button shows its in-flight state. A failure no longer looks like success.
Shipped in
59e4fdd(test fix6561f9a), part of the v7.3.0 milestone. Verified on dev (v7.2.1-3-g6561f9a): app suite 65/65 and api suite 268/268 green on the dev server; the one CI red was the known runner flake (iac#159), not this change.