This repository has been archived on 2026-06-09. You can view files and clone it, but cannot push or open issues or pull requests.
wedding-app/apps/web
Claude c7900c60d0
feat: implement admin panel and event management
API (apps/api/src/routes/admin.ts):
- GET /api/admin/me, /event, /uploads, /stats
- PATCH /api/admin/event for live config edits
- POST /api/admin/uploads/:id/{approve,reject}
- DELETE /api/admin/uploads/:id (also removes the object from R2)
- ZIP export and bulk import remain as 501 for the next iteration

Web (apps/web/src/routes/admin/Dashboard.tsx):
- Single-page dashboard with stats cards, event config form,
  filterable uploads grid (all/pending/approved/rejected) with
  per-card approve/reject/delete, infinite "load more", and a
  PDF QR shortcut in the footer.
- Logout via Cloudflare Access /cdn-cgi/access/logout.

Shared (packages/shared/src/schemas.ts):
- New zod schemas for AdminUpload, AdminUploadsResponse, AdminStats
  so the client and server agree on the admin payload shape.

https://claude.ai/code/session_01TPBqgcSJMppgrpiq7fLywL
2026-05-04 03:01:08 +00:00
..
src feat: implement admin panel and event management 2026-05-04 03:01:08 +00:00
.dev.vars.example chore: scaffold Cloudflare Pages monorepo for wedding photos app 2026-05-01 23:30:50 +00:00
index.html chore: scaffold Cloudflare Pages monorepo for wedding photos app 2026-05-01 23:30:50 +00:00
package.json refactor: migrate web app to Workers + Static Assets format 2026-05-04 00:57:28 +00:00
postcss.config.js chore: scaffold Cloudflare Pages monorepo for wedding photos app 2026-05-01 23:30:50 +00:00
tailwind.config.ts chore: scaffold Cloudflare Pages monorepo for wedding photos app 2026-05-01 23:30:50 +00:00
tsconfig.json fix: web build typescript errors 2026-05-03 23:56:44 +00:00
vite.config.ts chore: scaffold Cloudflare Pages monorepo for wedding photos app 2026-05-01 23:30:50 +00:00
wrangler.toml fix: derive QR target URL from request, not stale env var 2026-05-04 02:50:59 +00:00