Commit Graph

9 Commits

Author SHA1 Message Date
david 9c8f1bc57d feat: update MatchEditor to use tournament-specific scoring rules 2026-03-30 22:58:17 -07:00
david ab41ede160 feat: add variant scoring controls to EditTournamentForm 2026-03-30 22:58:09 -07:00
david a7d94e9fee fix: add tournament update API endpoint and consolidate delete into main tournaments API 2026-03-30 22:17:44 -07:00
david 6001eda9aa feat: add admin panel links to navigation header 2026-03-30 22:01:18 -07:00
david 07804b5f8f feat: add site_admin role, casual match support, and tournament deletion 2026-03-30 21:49:43 -07:00
david 3a78f354ad feat: add recalculateAllElo function for idempotent ELO recalculation 2026-03-30 21:28:09 -07:00
david c9415d490e fix: improve error handling and type safety
- Replaced 'any' types with proper TypeScript types
- Improved error handling with instanceof checks
- Removed unused imports (calculateExpectedTeamScore)
- Updated error messages to be more descriptive
- Removed deprecated eslint.config.mjs file
2026-03-29 21:20:40 -07:00
david 576dfda619 fix: resolve remaining TypeScript and linting errors
- Fixed unused variables in unit tests (elo.test.ts, permissions.test.ts)
- Fixed unused variables in E2E tests (account-acceptance.test.ts, elo-ratings.test.ts, epic1-auth-registration.test.ts, global.setup.ts)
- Fixed 'any' type usage in EditTournamentForm.test.tsx and auth-simple.test.ts
- Fixed unescaped quotes and apostrophes in React components
- Fixed TypeScript type errors in Navigation.tsx, test-api/page.tsx, and matches/upload/page.tsx
- Fixed missing useEffect dependency in tournaments/[id]/entry/page.tsx
- Updated eslint config to exclude test-api directory
- All tests now pass linting and build successfully
2026-03-29 21:20:20 -07:00
david 123df671f5 nextjs-rewrite (#5)
Reviewed-on: #5
Co-authored-by: David Gwilliam <dhgwilliam@gmail.com>
Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>
2026-03-30 02:30:13 +00:00