claude/funny-maxwell-vcyb19 #91

Merged
chrisp merged 3 commits from claude/funny-maxwell-vcyb19 into main 2026-06-15 22:05:25 +00:00

3 commits

Author SHA1 Message Date
Claude
e1caae9157
Add simulatorType to SeasonWithSportsSeasons sport type
All checks were successful
🚀 Deploy / 🧪 Test (pull_request) Successful in 3m19s
🚀 Deploy / ʦ🔍 Typecheck & Lint (pull_request) Successful in 1m20s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
The query already fetches sport: true (all columns) so simulatorType was
present at runtime, but the manual interface narrowed it away causing a
typecheck failure in home.tsx and upcoming-events.tsx.

https://claude.ai/code/session_01SFmJQxQZsKxvJ5rhbYk3za
2026-06-15 21:51:52 +00:00
Claude
40fc541329
Fix code review findings for major_tournament bracket support
Some checks failed
🚀 Deploy / 🧪 Test (pull_request) Successful in 2m46s
🚀 Deploy / ʦ🔍 Typecheck & Lint (pull_request) Failing after 1m10s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
- Add isBracketMajor() helper (event-utils.ts) as single source of truth
  for distinguishing CS2/Tennis bracket events from golf manual-entry events
- Replace all playoff_game-only guards in the admin event detail page with
  isBracketEvent, fixing: manual result forms, current results card, bracket
  explanation card, Bracket Finalized badge, and styling
- Extend delete handler in scoring-event.ts to clean up seasonParticipantResults
  and recalculate standings when a major_tournament event is deleted
- Add simulatorType to UpcomingParticipantEvent; thread it from home/upcoming-events
  loaders; fix isAllCompete in SportSeasonCard, UpcomingEventsCard, UpcomingCalendarPanel
  so CS2/Tennis bracket events show individual participant badges instead of counts

https://claude.ai/code/session_01SFmJQxQZsKxvJ5rhbYk3za
2026-06-15 21:25:09 +00:00
Claude
27049319b8
Allow bracket admin access for major_tournament events (CS2, Tennis)
The bracket admin loader was gating on eventType === "playoff_game", which
blocked CS2 and Tennis events that correctly use "major_tournament". Also
surfaces the Manage Bracket button on the event detail page for these events.

https://claude.ai/code/session_01SFmJQxQZsKxvJ5rhbYk3za
2026-06-15 21:02:53 +00:00