Work / Scrvio / Wiki / Surfaces
delete-recording
Surfacecanonicalverified 2026-10-04
SURFACE.WEB.DELETE-RECORDINGSummary
Confirm dialog for deleting one recording.
Raw wireframe
- .context/designs/web/library/delete-recording.html
Why it is drawn this way
Confirm leaves the page. After the mutation the app pushes /library. Cancel stays on the recording.
Same dialog as everywhere. ConfirmDialog with destructive, size sm.
The button shows ... while it works. ConfirmDialog swaps the label and disables both buttons during the mutation. A failure is a toast.
Related
Sources
- apps/website/src/app/recording/[id]/page.tsx
- packages/ui/src/components/ui/confirm-dialog.tsx