Show bracket on tennis Grand Slam major event pages #113
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/tennis-major-bracket-display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Tennis Grand Slam majors already store the full 128-player draw in
playoff_matches(synced from Wikipedia), and thePlayoffBracketcomponent +tennis_128template already exist — but users couldn't see any of it. The public league event page only rendered a bracket foreventType === "playoff_game", while tennis majors aremajor_tournamentevents, so they fell through to the QP-only results table.Change
kind: "tennis"branch in the event loader, gated onisBracketMajor(simulatorType) && eventType === "major_tournament". Loads the bracket (primary-keyed for shared majors, via the existing read-only-sibling ownership remap) plus this window's local QP results.PlayoffBracket, followed by the QP results table.QpResultsTableused by both thetennisandresultsbranches.CS2 majors (handled earlier) and golf (
isBracketMajorfalse) are unaffected.Verification
npm run typecheck— cleannpm run test:run— 2533 passedoxlint— clean🤖 Generated with Claude Code