fbc81f88

By: Michael Lynch <git@mtlynch.io>

Delete captions by clearing them; custom delete dialog

Remove the separate "Delete caption" button. Saving a blank caption now
deletes it, so the dedicated DELETE /m/{id}/caption route and handler are
gone.

Replace the stock confirm() prompt on "Delete photo" with a custom native
<dialog>, intercepting htmx's htmx:confirm event the same way the
refactoring-english-feedback reference project does.

Add e2e coverage for owners editing/deleting a caption and deleting a
photo (through the custom dialog), and for a non-owner seeing no editing
controls. Update the unit tests for the removed route.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Suite timing

Time to Start Worker time Duration Time to finish
Config 1s 18s 18s 20s
Eval 18s 43s 43s 1m02s
Build 23s 4m58s 1m20s 1m44s
Test - - - -
Deploy - - - -
Suite 1s 6m00s 1m42s 1m44s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s