-
Notifications
You must be signed in to change notification settings - Fork 1
Add bracket predictions, sharing, and leaderboard #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sergical
wants to merge
6
commits into
main
Choose a base branch
from
sergical/bracket-picking
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
mad-css | ee433f5 | Commit Preview URL Branch Preview URL |
Jan 29 2026, 03:20 AM |
524e8c7 to
92dfb46
Compare
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
mad-css | c5cbcdb | Commit Preview URL Branch Preview URL |
Feb 01 2026, 02:01 AM |
46fcdfd to
4c5a42b
Compare
Features: - User bracket predictions with cascading pick logic - Bracket locking with deadline enforcement - Share bracket as image (OG image generation) - Admin simulation panel for testing tournament progression - Leaderboard with scoring system Technical improvements: - Refactor bracket node generation into modular functions (nodeGenerators.ts) - Consolidate database migrations - Add Zod validation to server functions - Security fixes and input validation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Create PredictionsContext to reduce prop drilling from test.tsx - LoginSection now consumes from context (12 props → 3 props) - Bracket supports both context mode and props fallback for SSR routes - Export UsePredictionsReturn type from usePredictions hook Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When showPicks toggle is disabled, getPredictionOptions now returns
undefined instead of { pickState: "none" }, preventing unpicked styling
from being applied to Round 1 players.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4c5a42b to
419bd66
Compare
Add "noPick" status to distinguish "no pick made" from "opponent was picked". Remove legacy boolean props from PlayerNode and cleanup grayscale filter. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Social media crawlers now get a valid preview image instead of 404/403 errors when sharing bracket URLs for non-existent users or unlocked brackets. Also extracts NotFound component for reuse and adds styled 404 page. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
This PR adds interactive bracket predictions, sharing functionality, and a leaderboard system.
Features
Bracket Predictions
Bracket Sharing
/bracket/:username)Leaderboard
Other Improvements
Technical Changes
isInteractiveflag🤖 Generated with Claude Code