ci-run-20250918-2021 #26

Merged
Nicholai merged 5 commits from ci-run-20250918-2021 into main 2025-10-07 02:55:33 +00:00

5 Commits

Author SHA1 Message Date
1b6095979b changed text in hero section
Some checks failed
CI / build-and-test (pull_request) Has been cancelled
2025-10-06 20:51:46 -06:00
2d08aea523 refined appearance of navigation 2025-10-06 20:50:55 -06:00
cfdd6b7c5c feat(routing): switch public artist routing to slugs and fix admin parsing
Routing: update homepage ArtistsSection and ArtistsPageSection to link to /artists/{slug} and /book?artist={slug}. Artists grid already used slugs.\n\nAdmin: remove JSON.parse on specialties; treat as arrays with backward-compat.\n\nMigration: generate UUIDs with crypto.randomUUID(), ensure unique slugs, preserve user↔artist↔portfolio mapping.\n\nDB: parse specialties to arrays consistently and include createdAt for admin use.\n\nDev: wrangler dev port changes to avoid conflicts; MIGRATE_TOKEN set in wrangler.toml.\n\nDocs: add artist_routing_fix_implementation_plan.md.
2025-10-06 19:22:26 -06:00
8e7ac6e23e feat(admin/migration): seed SUPER_ADMIN/SHOP_ADMIN, rotate MIGRATE_TOKEN, finalize migration flow; harden endpoints; wire OpenNext updates 2025-10-06 06:41:40 -06:00
6bc913bbe4 __New File Created:__ (500+ lines)
__Features Implemented:__

1. __Image Display Grid__

   - Responsive grid layout (2-4 columns)
   - Image previews with hover effects
   - Public/Private visibility badges
   - Caption display on images

2. __Upload Functionality__

   - Drag-and-drop upload zone
   - Multiple file upload support
   - File type validation (PNG, JPG, WebP)
   - Size limit enforcement (5MB per file)
   - Upload progress feedback
   - Integration with  endpoint

3. __Edit Capabilities__

   - Modal dialog for editing images
   - Caption editor (textarea)
   - Tag management (add/remove tags)
   - Visibility toggle (public/private)
   - Image preview in edit dialog
   - Form validation with Zod

4. __Delete Functionality__

   - Confirmation dialog before deletion
   - Permanent deletion warning
   - Integration with  DELETE endpoint

5. __User Experience__

   - Loading states during fetch/upload/edit/delete
   - Error handling with toast notifications
   - Success confirmations
   - Optimistic UI updates
   - Automatic data refresh after operations

__Integration:__

- Added PortfolioManager to
- Positioned below artist form for logical workflow
- Automatic refresh of artist data when portfolio changes
- Callback system for parent component updates

##
2025-10-06 04:51:57 -06:00