brackt/app/components/events
Claude df70ef83c2
Add CS2 schedule fix, Champions Stage floor scoring, and event detail view
Part 1 — CS2 playoff matches now appear in upcoming schedule:
getUpcomingEventsForDraftedParticipants (all-compete path) now also
picks up events with upcoming playoff_match_games.scheduledAt, so CS2
Champions Stage bracket games set via the admin bracket UI surface on
both /upcoming-events and the sport_season EventSchedule panel.
getUpcomingScoringEvents is updated to sort by earliest bracket game
time when eventDate/eventStartsAt are absent or past.

Part 2 — Auto floor-score CS2 Champions Stage qualifiers:
assignCs2EliminationQP now writes provisional floor event_result rows
(placement=5, QP = tie-split of slots 5–8) for the 8 Champions Stage
advancing teams once all Stage-3 exits are known. The bracket admin's
result entry overwrites these via onConflictDoUpdate.

Part 3 — Public event detail view:
New route /leagues/:leagueId/sports-seasons/:sportsSeasonId/events/:eventId
shows CS2 Swiss stage progress (W-L table + matches per stage) and the
Champions Stage bracket, bracket events (tennis/golf bracket + groups),
and results tables for QP/racing events. EventSchedule and
UpcomingCalendarPanel event rows now link to this detail page.

https://claude.ai/code/session_01RYK7NCjcaah545979wupcM
2026-06-16 00:02:28 +00:00
..
Cs2MajorEventView.tsx Add CS2 schedule fix, Champions Stage floor scoring, and event detail view 2026-06-16 00:02:28 +00:00