Commit graph

117 commits

Author SHA1 Message Date
ac0ecf2a92 Add broken reference cleanup functionality to Cloudinary audit
- Add cleanupBrokenReferences function to remove missing Cloudinary URLs from database
- Add PATCH endpoint to API for cleaning broken references
- Add UI section to show broken references with cleanup button
- Add confirmation modal for cleanup action
- Add console logging to debug delete button issue

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 18:57:57 +01:00
4aaf33f19e Ran linter 2025-06-16 17:05:43 +01:00
723f7acbc1 feat: enhance Media Library filtering and sorting
- Add sort functionality (newest, oldest, name A-Z/Z-A, size)
- Update media type filters: Images (JPG/PNG), Videos (MP4/MOV/GIF), Audio, Vectors (SVG)
- Replace photography filter with 'Published in' filter (Photos/Universe/Unpublished)
- Fix API to properly handle JSON array queries with array_contains
- Add comprehensive WHERE clause building for multiple filters

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 17:05:02 +01:00
c6fd8cf292 refactor: convert Media Library actions to dropdown menu
- Replace individual buttons with dropdown menu for secondary actions
- Add 'Audit Storage' and 'Select Files' options to dropdown
- Keep Upload as primary action button
- Add chevron-down icon with proper stroke styling
- Implement click-outside handler for dropdown

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 17:04:32 +01:00
655a8a05a5 feat: add Cloudinary audit admin UI
- Create audit page at /admin/media/audit with 2x2 summary grid
- Add interactive table with file selection and batch operations
- Implement delete functionality with confirmation modal
- Add chevron-left icon for navigation
- Style with consistent admin UI patterns
- Include loading states and error handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 16:56:39 +01:00
1f04a96dad feat: add Cloudinary audit functionality
- Add comprehensive audit system to identify orphaned Cloudinary files
- Create audit script with dry-run and execute modes
- Add formatBytes utility for human-readable file sizes
- Implement comparison logic between Cloudinary and database references
- Add API endpoint for programmatic access to audit functionality
- Include documentation for Cloudinary management

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-16 16:56:05 +01:00
f540aed895 Add new layout to album pages and remove tests and PhotoGrid 2025-06-16 10:10:59 +01:00
6132c17a9b Add better masonry and infinite scrolling 2025-06-16 09:58:07 +01:00
47e9e300db Update Universe character count and Photos og:desc 2025-06-16 01:38:15 +01:00
4ffcb25a67 Updates for now playing 2025-06-14 18:52:13 -04:00
090b2b95bd Stream new albums over SSE 2025-06-14 14:42:08 -04:00
4a99aca101 Use new Avatar component 2025-06-14 14:09:08 -04:00
dd8f97979c Now playing refinements 2025-06-14 10:42:26 -04:00
f41df1d5e8 Avatar now playing reactivity 2025-06-14 00:45:03 -04:00
6a0f1d7d3f Realtime now playing 2025-06-13 22:18:05 -04:00
199abb294f Now playing 2025-06-13 21:50:13 -04:00
cc6eba7df1 Linter 2025-06-13 21:22:49 -04:00
b3979008ae Apple Music API 2025-06-13 21:22:39 -04:00
fe30f9e9b2 Youtube embeds too 2025-06-13 18:13:43 -04:00
b1ddedd586 Embed URL cards 2025-06-13 17:29:29 -04:00
57ec5ca9aa Fix unused CSS selector warnings 2025-06-13 15:05:18 -04:00
81af86ae7f Add sorts in admin interface 2025-06-13 14:50:22 -04:00
f753d5fb8b Unify fullscreen editors 2025-06-13 14:17:26 -04:00
3096c0ff51 Updates to MediaUploadModal 2025-06-13 12:43:56 -04:00
824e44a1ef Track while scrolling 2025-06-13 07:53:22 -04:00
fcf5f87177 Buttons stay under your mouse on navigation 2025-06-13 07:42:30 -04:00
d1c7a777ed Phot next/prev buttons follow you 2025-06-13 07:39:24 -04:00
00fc9b90cc Finish fixing photos architecture 2025-06-13 07:13:06 -04:00
6b44c1b7d0 Simplify photos architecture 2025-06-13 06:55:21 -04:00
1c1b930e34 Better photos interface 2025-06-13 05:03:37 -04:00
09e83618c9 Different filmstrip, zooming images 2025-06-13 04:34:34 -04:00
610a421207 Better single photo view 2025-06-13 03:47:52 -04:00
c50b8e2e53 Add view on site button 2025-06-12 03:28:34 -07:00
d63574a09f Fix markdown link saving 2025-06-12 02:07:12 -07:00
46d655e8f0 Better OpenGraph and HTML metadata 2025-06-11 23:58:11 -07:00
d44bcbb80e Fix some console errors 2025-06-11 22:19:07 -07:00
a8bee8d9da Fix footer positioning 2025-06-11 02:03:26 -07:00
3ba7f6b762 We ran the linter 2025-06-11 00:54:05 -07:00
c6ce13a530 Simplify posts
We had a lot of unnecessary complexity here due to post types that never ended up getting used.

We also made the post slug field reactive and bound to the title field.

We also fixed filters on the Universe admin page so we can filter by unpublished posts too (WIP)

We also fixed the hover state of BackButton
2025-06-11 00:53:54 -07:00
3d993d76ed Remove old post types to reduce confusion 2025-06-11 00:06:44 -07:00
451d5b0f9e Make back button consistent 2025-06-10 22:24:24 -07:00
c4eef0b1db Remove from Cloudinary on bulk delete 2025-06-10 21:53:33 -07:00
b3c9529e3f Fix image handling in forms 2025-06-10 20:48:02 -07:00
5edc7eb33b Fix filtering for projects 2025-06-10 19:47:14 -07:00
bbced97929 Button unification 2025-06-10 19:09:23 -07:00
90735d2c83 Spacing and mobile design fixes 2025-06-10 12:06:02 -07:00
510255f1bd Make font-scaling more consistent 2025-06-10 10:29:52 -07:00
205244584f Mobile layout adjustments 2025-06-10 10:22:08 -07:00
7869d05e1e Remove log 2025-06-10 09:44:27 -07:00
78ae1d0756 Update empty states 2025-06-10 09:15:09 -07:00