Commit Graph

9 Commits

Author SHA1 Message Date
d5448d9a94 feat!: upgrade to SvelteKit 3 and adapter-bun
Some checks failed
Test and deploy staging / staging (push) Failing after 14s
- run sv migrate sveltekit-3: config moves into vite.config.ts, $lib becomes
  #lib, $env/dynamic becomes $app/env/private via src/env.ts, $app/environment
  becomes $app/env, hook types move to @sveltejs/kit/hooks
- env vars stay optional (the migrator defaulted them to ''), and BANCHO_MODE,
  which it missed, is declared and passed to simulatorEnabled
- handleError only logs and masks unknown errors; Kit 3 now routes 404s and
  error(...) through it too
- json()/text() become Response.json()/new Response(); goto keepFocus/noScroll
  becomes reset: false; invalidateAll becomes refreshAll; page.url is copied
  before mutating
- replace adapter-node with @sveltejs/adapter-bun; prod-server.ts wraps
  Bun.serve to add native WebSockets (bunSockets) for /ws paths, since the
  generated server has no websocket option
- drop the Kit readdir patch: Kit 3 sorts route entries itself
- match view and broadcast pages use the live score modules

BREAKING CHANGE: requires SvelteKit 3, TypeScript 6 and Bun 1.4; the build
output is build/index.js from adapter-bun, started through prod-server.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:02:53 +00:00
9b9aafefc1 feat: redesign match play and add broadcast tooling 2026-09-29 02:52:56 +00:00
d597c6545e use prettier formatting 2026-03-13 17:07:06 +01:00
803cc8b13c feat: enhance user profile menu; add settings link and logout functionality 2026-03-01 20:11:13 +01:00
d1643e9b68 refactor: streamline header and sidebar components, update navigation icons, and enhance queue management logic 2026-03-01 03:36:14 +01:00
670aa7810c add mobile layout 2026-03-01 00:43:07 +00:00
b506dba0eb feat: implement leaderboard page with top players, teams, and high scores
- Added a new leaderboard route with server-side loading for top players, teams, and recent high scores.
- Created a new Svelte component for the leaderboard UI, including tabs for players, teams, and scores.
- Implemented ELO ranking display and win/loss statistics for players.
- Added functionality to display team wins and member counts.
- Included recent high scores with player context and map details.
- Enhanced team management features in the teams route, including renaming and member management with permission checks.
2026-02-28 18:18:11 +01:00
90396b5338 settings + reinvite players to lobby 2026-02-28 05:49:56 +01:00
55f90e1a3d layout UI 2026-02-28 01:46:14 +01:00