fix(workouts): report manual saves through the outcome module and register the delete

A repeated submit that wrote nothing reads as a neutral notice rather
than a success. The delete control is entered in the destructive-control
registry, and its 409 code in the published error catalogue.

Refs #1085
This commit is contained in:
Marc-André Bombeck committed 2026-10-02 21:31:25 +02:00
1 parent cfbb57ab3e
commit 6eb79a1d47
4 files changed
+22 -9

No files matched your search

@@ -380,6 +380,13 @@ const REGISTRY: DestructiveEntry[] = [
recovery: "tombstoned-no-restore",
confirm: ["AlertDialog"],
},
{
file: "components/workouts/delete-workout-button.tsx",
destroys:
"one workout entered by hand, with the personal records it set; synced workouts are refused by the route",
recovery: "permanent",
confirm: ["AlertDialog"],
},
// ── Visits and the address book ─────────────────────────────────────────
{