Commit Graph

7 Commits

Author SHA1 Message Date
Jeff Emmett c5b710498f feat: Custom batch slugs with top-level URLs (no /b/ prefix)
Batch uploads now use top-level URLs (e.g., /my-photos instead of
/b/abc123). Users can name their batch slug or let it auto-generate.
Slug field dynamically shows / prefix for batches, /f/ for single files.
Added slug validation with live feedback and reserved slug protection.
Old /b/ URLs redirect permanently for backward compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 13:23:03 -04:00
Jeff Emmett 92c931d7da feat: Lightbox image viewer on batch page with arrow key navigation
Clicking an image thumbnail opens a full-size overlay instead of
navigating away. Left/right arrows and on-screen buttons cycle
through images. Click backdrop or press Escape to close. Includes
filename and download link in the lightbox footer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 16:14:34 -04:00
Jeff Emmett 573e7d0d80 feat: Thumbnail grid for batch page with Download All as zip
Batch page now shows files as a thumbnail grid (images render as
cover-fit thumbnails, other types show icons). Added /b/{id}/dl
endpoint that streams all batch files as a zip archive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 16:04:40 -04:00
Jeff Emmett a12ed888e0 fix: Add cache-busting query param to CSS links
Prevents browsers from serving stale cached stylesheets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 12:18:53 -07:00
Jeff Emmett e938f6d9a9 feat: Native previews for video, audio, and PDF files
Use presigned R2 URLs with native HTML elements instead of generic
icons for all previewable file types on the download page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 11:16:18 -07:00
Jeff Emmett 9ab1cb3349 feat: Add file thumbnails and fix download page layout
- Images show actual thumbnail from R2 (presigned inline URL)
- Video/audio/PDF show type-specific icons
- Use flexbox gap for consistent spacing (no overlap)
- Move filename into card as h2, remove top-level h1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 10:47:44 -07:00
Jeff Emmett 86edcbdc21 feat: Add download page with view/download buttons
GET /f/{id} now shows a file info page with metadata and action buttons
instead of redirecting directly. Previewable files (images, video, audio,
text, PDF) get a "View" button (inline disposition). All files get a
"Download" button. Actual redirects moved to /f/{id}/dl and /f/{id}/view.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 10:36:05 -07:00