Add read-only caster/spectator overlay view for the draft board - #249
Open
diese-tech wants to merge 1 commit into
Open
Add read-only caster/spectator overlay view for the draft board#249diese-tech wants to merge 1 commit into
diese-tech wants to merge 1 commit into
Conversation
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
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/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./draft/[id]board everyone else uses (admin/captain-oriented chrome, no tailored layout).GET /api/draft/[id]endpoint as the rest of the draft board; no new API surface or auth changes.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 errorsnpx eslintclean on the new/changed filessrc/lib/draft-data.test.ts,src/app/api/draft/**/*.test.ts) still pass (19/19)/draft/[id]/overlayagainst 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