Skip to content

temp add judging state#454

Merged
michelleyeoh merged 3 commits intomainfrom
display-all-rollouts
Mar 27, 2026
Merged

temp add judging state#454
michelleyeoh merged 3 commits intomainfrom
display-all-rollouts

Conversation

@michelleyeoh
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the hacker judging/table-number flow to treat tableNumber as a string label and temporarily alters which “hero” sections render during the hackathon hub experience.

Changes:

  • Update useTableNumber to store/normalize tableNumber as string | null.
  • Tighten table-number check-in behavior around localStorage and value setting.
  • Temporarily change judging/waiting rendering and gate multiple hub sections behind featureId="hero-hacking".

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
app/(pages)/_hooks/useTableNumber.ts Changes tableNumber state to `string
app/(pages)/(hackers)/_components/TableNumberCheckin/TableNumberCheckin.tsx Updates localStorage guard and uses string tableNumber directly when persisting.
app/(pages)/(hackers)/_components/HomeJudging/_components/JudgeBanners.tsx Passes context tableNumber directly into useTeamJudgesFromTableNumber.
app/(pages)/(hackers)/_components/HomeJudging/HeroJudging.tsx Comments out the waiting-state import/early-return gating.
app/(pages)/(hackers)/(hub)/page.tsx Adds HeroWaiting and changes multiple ClientTimeProtectedDisplay blocks to use the same featureId for testing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@michelleyeoh michelleyeoh merged commit cb50787 into main Mar 27, 2026
2 checks passed
@michelleyeoh michelleyeoh deleted the display-all-rollouts branch March 27, 2026 06:12
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