Commit Graph

9 Commits

Author SHA1 Message Date
6dbeff1c4a 🔧 Enable debug mode and adjust responsive styles for better mobile layout 2026-01-28 18:39:33 +00:00
0f206a0158 🔧 Update client authentication logic and adjust grid layout for responsiveness 2026-01-28 18:38:58 +00:00
b7a6a139b0 🎨 Reformat router-link element for improved readability 2026-01-28 18:32:49 +00:00
1ddc7761f5 🔑 Add support for client credentials authentication in API v2.1 with priority over OAuth and API key 2026-01-28 18:32:43 +00:00
149c3370a2 ✏️ Improve code readability by reformatting and rewrapping text and attributes for better alignment and consistency 2026-01-28 18:32:05 +00:00
8f7f9915e1 🔒 Add client credentials management functionality 2026-01-28 18:31:58 +00:00
e55537ff8b 🎮 Add support for selecting tournament scope in Challonge API integration 2026-01-28 18:29:26 +00:00
a24f766e37 🎨 Improve code readability by reformatting and updating function definitions and comments 2026-01-28 18:18:55 +00:00
1944b43af8 feat: implement multi-state tournament querying for Challonge API v2.1
- Add tournament-query.js utility with queryAllTournaments() and helper functions
  * Makes 3 parallel API calls (pending, in_progress, ended states)
  * Uses Promise.all() to wait for all requests
  * Deduplicates results by tournament ID using Map
  * Replaces invalid state: 'all' parameter (API doesn't support 'all' value)

- Implement 5 convenience functions:
  * queryAllTournaments() - Query all states with custom options
  * queryUserTournaments() - Query user's tournaments (shorthand)
  * queryCommunityTournaments() - Query community tournaments
  * queryActiveTournaments() - Query pending + in_progress only
  * queryCompletedTournaments() - Query ended tournaments only
  * queryTournamentsByStates() - Query custom state combinations

- Update ChallongeTest.vue to use queryAllTournaments()
  * Replace invalid state: 'all' with proper multi-state query
  * Now correctly fetches tournaments from all states
  * Update console logging to show all 3 states being queried

- Add comprehensive TOURNAMENT_QUERY_GUIDE.md documentation
  * Explains the problem and solution
  * API reference for all functions
  * Implementation details and performance notes
  * Testing instructions
  * Future enhancement ideas
2026-01-28 18:10:29 +00:00