Add album deletion with confirmation dialog
Summary
- Add DELETE endpoint at
/api/albums/[id]that removes album files from disk and the database record - New
DeleteConfirmDialogcomponent showing album details before confirming deletion - Delete button appears in the sort form when a destination conflict is detected, alongside the existing Overwrite and Sort buttons
Test plan
-
Trigger a conflict, click Delete, verify confirmation dialog shows correct album info -
Confirm deletion, verify files removed from disk and album removed from list -
Cancel deletion, verify nothing happens -
Build passes
Stacked on #2