Skip to content

Work / Scrvio / Wiki / Surfaces

delete-recordings

Surfacecanonicalverified 2026-10-04

SURFACE.WEB.DELETE-RECORDINGS

Summary

Confirm dialog for deleting the selected recordings.

Raw wireframe

  • .context/designs/web/library/delete-recordings.html

Why it is drawn this way

The title counts. Delete 2 recordings?, singular for one.

It is one mutation per recording. handleBulkDelete runs deleteRecording for each id with Promise.all. A partial failure shows one error toast and leaves the selection as it was.

Both buttons land on the library. Confirm refetches and clears the selection; Cancel only closes.

Related

Sources

  • apps/website/src/app/library/page.tsx
  • packages/ui/src/components/ui/confirm-dialog.tsx