Tournaments
Tournament list and detail pages. Routes: /tournaments/:tab?/:metaGame? (tabs: open, current, completed; legacy /tournaments/:gameUid redirects to /tournaments/open/:gameUid), /tournament/:metaGame/:tournamentid.
Key files
| File | Role |
|---|---|
Tournaments/Tournaments.js |
Tournament list |
Tournaments/Tournament.js |
Single tournament detail |
Tournaments/TournamentsOld.js |
Legacy tournament history view |
Data loading
- Open query
get_tournaments— list tournaments (optionalmetaGamefilter) - Auth queries for registration, creation, and organizer actions
Tournament detail fetches bracket/standings data and links to individual game move pages for active games.
Two-leg format (matchLegs: 2 on the tournament record): shown via TournamentFormatBadge on list and detail pages. Organizers can enable it when requesting a new tournament (NewTournamentModal). Standings matrix cells link to each leg separately when both exist.
Backend semantics: Tournaments.