feat(shoots): add "Clear all" button to wipe a shoot's frames #66
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/clear-shoot-frames"
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?
Adds a way to clear every frame of a shoot from the shoot detail view.
What
DELETE /shoot/:id/framesendpoint, then empties the frame list, resets the count to 0, and toasts 'Frames cleared'. Aclearingsignal drives the button loading state.ShootService.clearFrames(shootId).Tests
shoot-detail.spec.ts: confirm uses the 'Clear all' accept label; on accept it clears + toasts success + resets count; on error it toasts and keeps the frames.Verified
Versioning
v0.8.0changelog entry added in the rollnote-api companion PR (#58). Requires that PR's endpoint.