Skip to content

Add read-only caster/spectator overlay view for the draft board - #249

Open
diese-tech wants to merge 1 commit into
mainfrom
claude/player-drafting-flow-review-ofnsut
Open

Add read-only caster/spectator overlay view for the draft board#249
diese-tech wants to merge 1 commit into
mainfrom
claude/player-drafting-flow-review-ofnsut

Conversation

@diese-tech

Copy link
Copy Markdown
Owner

Summary

  • Adds /draft/[id]/overlay, a public, no-login, read-only full-screen view of a draft room, built for casters/spectators to screen-capture during a broadcast.
  • Previously, casting a draft meant sharing the same interactive /draft/[id] board everyone else uses (admin/captain-oriented chrome, no tailored layout).
  • Shows: on-the-clock spotlight with a large countdown, "Up Next" pick order, full picks log (including auto-skips), and available players for the room's division. No pick/shortlist controls — view only.
  • Uses the same 3s polling against the existing public GET /api/draft/[id] endpoint as the rest of the draft board; no new API surface or auth changes.
  • Adds a "Caster Overlay" link/URL in the admin draft room view (AdminDraftRoomClient) next to the existing captain-token section, so admins can easily grab the link to share.

Test plan

  • npx tsc --noEmit -p . passes with no errors
  • npx eslint clean on the new/changed files
  • Existing draft unit tests (src/lib/draft-data.test.ts, src/app/api/draft/**/*.test.ts) still pass (19/19)
  • Manual browser check of /draft/[id]/overlay against a live draft room — not possible in this sandbox (no Supabase credentials configured), should be verified against a real/staging draft room before relying on it for a live cast

🤖 Generated with Claude Code

https://claude.ai/code/session_01MNRmYLVWgy8eiWUiPyqzM1


Generated by Claude Code

Casting a draft today meant sharing the same interactive board everyone
else sees, admin chrome and all. Adds /draft/[id]/overlay, a public,
no-login, read-only full-screen display (on-the-clock spotlight, up
next, picks log, available players) built for screen-capture during a
cast, plus a link to it from the admin draft room view.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MNRmYLVWgy8eiWUiPyqzM1
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sal-draft-league Ready Ready Preview Aug 6, 2026 2:03pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants