Delete own photos, fetch/sync remote deletions #55
Reference in New Issue
Block a user
Delete Branch "feature/delete_own_photos"
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 new item to the photo actions menu that lets creators delete their own photo events, which will also delete the files from Blossom.
Also adds a new settings section for experimental features, which includes enabling the Delete Photo action, which is disabled by default.
Unrelated, but also added in this PR: arrow key navigation for the photo galleries.
* Fixed a race condition in `photo-carousel` where programmatic scrolling (e.g., keyboard navigation) would conflict with `IntersectionObserver` callbacks, causing the current photo to revert mid-scroll. Added an `isProgrammaticScroll` flag to temporarily suppress observer updates during these scrolls. * Added explicit timeouts in `photo-gallery-test.gjs` to allow the carousel animations to settle between keyboard events. * Refactored `Modal` and `PhotoGallery` components to use `{{in-element}}` to render their contents into a top-level `#modal-portal` div. This prevents z-index and overflow clipping issues. * Updated `index.html` to include the `#modal-portal` div.