- Disable Axum's 2 MB default body limit on the upload route so large
photos/videos are accepted without HTTP 400
- Serialize UserRole as lowercase in JWT so the frontend role checks
('guest'/'host'/'admin') match correctly
- Drain multipart body before returning early upload errors (rate-limit,
ban, event-lock) to keep the HTTP keep-alive connection clean and
prevent cascading Netzwerkfehler / empty-500 responses
- Add TraceLayer for request logging and Vite dev proxy config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2.1 KiB
2.1 KiB
Frontend Testing — Step by Step
Please test each step in order and report any errors (console errors, wrong text, broken UI, API errors).
Step 1 — Join flow + PIN modal
- Open http://localhost:5173/ in your browser (or navigate there if already open)
- You should land on the join page (
/join) with a name input - Enter your name (e.g.
Max) and click Beitreten - ✅ Expected: A modal appears showing your 4-digit PIN in large monospace font with a "Kopieren" button
- Click Weiter zur Galerie
Step 2 — Onboarding guide
- You should land on the feed page (
/feed) - ✅ Expected: A dark overlay appears at the bottom (or center on desktop) — the onboarding guide — showing step 1 of 4 with a step indicator and the Willkommen screen
- Click Weiter through all 4 steps, then Los geht's!
- ✅ Expected: Overlay disappears
Step 3 — Feed & navigation
- ✅ Expected: Feed shows "Noch keine Fotos." empty state with an upload button
- ✅ Expected: Top-right has an upload button (blue) and a person icon link
Step 4 — My Account page
- Click the person icon in the top-right
- ✅ Expected:
/accountpage shows your name (Max), a blue "Gast" badge, session expiry date, and your PIN displayed large in an amber box - Click Kopieren — check clipboard contains your PIN
- ✅ Expected: Button briefly shows "Kopiert!"
- Click Zur Galerie to go back to the feed
Step 5 — Upload
- Click Hochladen — this takes you to
/upload - Try uploading a photo from your device library
- ✅ Expected: Photo appears in queue with a progress bar, then completes
- Go back to
/feed— ✅ Expected: your photo appears in the feed grid
Step 6 — Onboarding guide not shown again
- Reload the page at
/feed - ✅ Expected: The onboarding overlay does not appear (already dismissed)
Step 7 — Recover (open a private/incognito window)
- Open a new private/incognito window at http://localhost:5173/recover
- Enter the same name (
Max) and the PIN you copied - ✅ Expected: You're redirected to the feed with the same account