Sfoglia il codice sorgente

[Phase 4 U10] Document home roll teaser convention and Phase 4 routes

Append a Frontend bullet to CLAUDE.md noting the home roll teaser
renders in place (no router.push from home), and add docs/API_ROUTES.md
recording that Phase 4 randomizer adds no new API routes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
User 2 mesi fa
parent
commit
2c25b9eff2
2 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 1 0
      CLAUDE.md
  2. 5 0
      docs/API_ROUTES.md

+ 1 - 0
CLAUDE.md

@@ -44,6 +44,7 @@ Tables: `users`, `groups`, `group_members`, `movies`, `landing_reel_posters`
 - TMDB posters: native sized URLs from TMDB CDN (w342 grid, w185 reel, w500 panel). No `next/image` for posters. `loading="lazy"` + meaningful `alt` text on all images. Reel posters `aria-hidden`.
 - Real-time: subscribe on mount, unsubscribe on unmount (one list at a time). Home page counts via polling.
 - Accessibility: `aria-live="polite"` for roll results, filter changes, watched toggles. `prefers-reduced-motion` on both animations.
+- Home roll teaser renders in place — do not router.push() from a home-page roll.
 
 ## Auth
 

+ 5 - 0
docs/API_ROUTES.md

@@ -0,0 +1,5 @@
+# API Routes
+
+## Phase 4 (Randomizer)
+
+Phase 4 randomizer is client-side; reuses /api/movies and the direct Supabase browser client. No new routes added.