Commit Graph

337 Commits

Author SHA1 Message Date
c723496e69 🎨 Reformat code for consistent indentation and improve readability 2026-01-28 18:30:53 +00:00
36caa456fb 🔒 Add functionality to manage Challonge client credentials securely 2026-01-28 18:30:48 +00:00
e55537ff8b 🎮 Add support for selecting tournament scope in Challonge API integration 2026-01-28 18:29:26 +00:00
e85aea3f0c 🔧 Disable JavaScript and TypeScript validation in VS Code settings 2026-01-28 18:25:31 +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
66ffe17aed Add initial implementation and configuration files for Discord bot and dashboard 2026-01-28 05:51:44 +00:00
053db5e32b 🗑️ Remove unused files and redundant assets from the project 2026-01-28 05:48:15 +00:00
fedcc8d25d 🛠️ Simplify argument parsing and validation logic by removing redundant type annotations and relocating target validation 2026-01-28 05:29:56 +00:00
fbd1d8c94f 🛠️ Add SSHHostConfig typedef and improve argument parsing with validation for target 2026-01-28 05:29:43 +00:00
c8194b3083 🔧 Simplify error handling in healthCheck function by removing unused error parameter 2026-01-28 05:26:53 +00:00
2d28f30578 🔧 Remove unnecessary escaping of single quotes in SFTP fallback logic 2026-01-28 05:26:43 +00:00
1c40fca61d 🐛 Fix syntax error in catch block by removing empty parentheses 2026-01-28 05:26:26 +00:00
16c27a8cd7 ⚠️ Handle SFTP errors without capturing the error object in deploy script 2026-01-28 05:26:21 +00:00
b434e7f3ef 🚀 Update deployment script to build and deploy Vue 3 application with enhanced file transfer and Docker management 2026-01-28 05:24:44 +00:00
8d59555b43 🚀 Simplify Dockerfile by removing build stage and directly copying pre-built assets 2026-01-28 05:24:16 +00:00
02c5a9a9c1 🎨 Clean up code formatting and improve readability in deployment script 2026-01-28 05:24:11 +00:00
2206191fd9 🔨 Add Vue 3 build process and dist directory transfer to deployment script 2026-01-28 05:24:06 +00:00
6f6e666675 🗑️ Remove Pokedex Online app files including Dockerfile, README, docker-compose configuration, and index.html 2026-01-28 05:22:55 +00:00
df0651c6a5 🔄 Update import path for ProfessorPokeball component to reflect new location in shared directory 2026-01-28 05:21:08 +00:00
0e0881607e 🔄 Update import path for ProfessorPokeball component 2026-01-28 05:21:02 +00:00
223982b830 🗑️ Remove unused Pokeball and ProfessorPokeball components 2026-01-28 05:20:57 +00:00
40f3f7887d 🗑️ Remove unused Pokeball and ProfessorPokeball components from the project 2026-01-28 05:20:42 +00:00
a95c6c83e1 🔄 Update import path for ProfessorPokeball component to reflect new location 2026-01-28 05:19:24 +00:00
97a4519e4a 🗑️ Remove unused Pokeball and ProfessorPokeball components from the project 2026-01-28 05:19:14 +00:00
f5bf28415f Fix typo in Pokémon name in app description 2026-01-28 05:15:35 +00:00
0f0d64ac01 ❤️ Clarify target audience as Pokémon Professors in the app description 2026-01-28 05:15:22 +00:00
4d81ca8d8e 🎨 Change container background color to white 2026-01-28 05:15:04 +00:00
2321ea9e38 🎨 Update container background color to a darker shade 2026-01-28 05:14:59 +00:00
9406b62c94 🎨 Update container background color to red shade 2026-01-28 05:14:54 +00:00
28331ec039 🎨 Correct color code formatting in ProfessorPokeball component 2026-01-28 05:14:33 +00:00
0f5585d58c 🎨 Remove hardcoded color value in template 2026-01-28 05:14:28 +00:00
471cf51030 🎨 Add red background color to the template 2026-01-28 05:14:22 +00:00
71858aae53 🎨 Adjust formatting for better readability in component attributes 2026-01-28 05:12:09 +00:00
84603dd4ab 🎨 Fix typo in attribute name and adjust formatting for readability 2026-01-28 05:12:04 +00:00
4f121f61d1 🐛 Fix typo in ProfessorPokeball component attribute name 2026-01-28 05:11:59 +00:00
44fd5feafe 🐛 Fix typo in ProfessorPokeball component attribute 2026-01-28 05:11:54 +00:00
b459f92e36 ✏️ Update description to clarify target audience from trainers to professors 2026-01-28 05:11:04 +00:00
c3ef3348e8 ✏️ Refine description text for clarity and conciseness 2026-01-28 05:10:54 +00:00
cd2e24adaf Update app description to emphasize utility for professors 2026-01-28 05:10:49 +00:00
afe8413cc5 📝 Update app description to reflect support for multiple applications 2026-01-28 05:10:42 +00:00
586582da54 🎨 Refactor prop definitions to use explicit types and default values 2026-01-28 05:07:57 +00:00
35ebd6cf32 🎨 Fix formatting in props definition for consistency 2026-01-28 05:07:12 +00:00
e74db72355 🎨 Simplify props definition formatting in ProfessorPokeball component 2026-01-28 05:07:07 +00:00
75093f1daa 🎨 Refactor props definition and add inheritAttrs option in ProfessorPokeball component 2026-01-28 05:03:52 +00:00
fd45934b2a 🎨 Update ProfessorPokeball component to use inline styles for size and set SVG dimensions to 100% 2026-01-28 05:01:53 +00:00
45d10af644 🎨 Update ProfessorPokeball component styling to center align with block display and auto margins 2026-01-28 05:00:48 +00:00
6c39b9d956 🔄 Rename imported component for clarity 2026-01-28 04:58:48 +00:00
0dc8f97601 🎨 Simplify SVG styling by replacing CSS class with inline binding and remove unused showTrademark prop 2026-01-28 04:56:51 +00:00
3f1a896fcf 🎨 Remove unused SVG path for trademark from ProfessorPokeball component 2026-01-28 04:50:28 +00:00