Skip to content

feature/events/eventKey Route - #40

Merged
Kaique-Sique merged 2 commits into
mainfrom
feature/events/eventKey-Route
Aug 15, 2026
Merged

Kaique-Sique merged 2 commits into
mainfrom
feature/events/eventKey-Route

Conversation

@Kaique-Sique

Copy link
Copy Markdown
Member
  • Add event match fetching and MatchStatus
  • Split matches by bracket, sort order, and status fix

Introduce MatchStatus enum and extend event types to support nullable match/alliance fields. Add getMatchsEvent (and helpers) to fetch and map TBA matches (uses formatMatchLabel) and export getAllianceTeams. Update page and client to load/passthrough matches, and adjust MatchRowCard, MatchesList, UpcomingMatches, and TeamBadge props to handle nullable teams/status. These changes enable fetching/displaying event matches and make match-related props more resilient to missing data.
Make Matches tab interactive and accurate: EventMatchesTab is now a client component with a Qualification/Playoff toggle, groups matches by comp_level and shows counts, and displays matches sorted by execution order. Add utilities getMatchBracket, sortMatchesByExecutionOrder and matchNumberFromKey (utils/match). Update EventMatch type to include compLevel (types/events). Fix match status logic to use post_result_time (ON_FIELD vs COMPLETED) and tweak label parsing (lib/api/match, utils/match).
@vercel

vercel Bot commented Aug 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
scouter7563 Ready Ready Preview Aug 15, 2026 9:12pm

@Kaique-Sique
Kaique-Sique merged commit 876fa24 into main Aug 15, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — c43eed79 Deployed Aug 15, 2026 by vercel[bot]
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.

1 participant