Commit Graph

363 Commits

Author SHA1 Message Date
Kalle
6a72946b45
New hooks and components for localized date time (#3065) 2026-05-17 13:19:25 +03:00
Kalle
20118fb7a5
Fix WS revalidate on tournament bracket & match pages (#3061) 2026-05-13 20:17:29 +03:00
Kalle
1f415533f5 Fix crash when visiting tournament team page after tournament start who did not check in
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-05-12 21:01:49 +03:00
Kalle
ee6e92967b Allow reporting weapons after tournament has finalized 2026-05-11 20:50:13 +03:00
Kalle
f60966e11d Cap placements bracket progression placements at 100
This matters as we have arrays where the size is the amount of placements.
Previously some users put 100k + placements
2026-05-10 14:22:40 +03:00
Kalle
93dfb53394 Fix tournament reg page check-in info not respecting user date format preference 2026-05-04 18:47:28 +03:00
Kalle
2b5b1b1948
New match page (#3032)
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-05-04 18:15:10 +03:00
Kalle
92c62746be Show year on the tournament register page if not current year 2026-05-03 14:27:50 +03:00
Kalle
1bf9802be8 Fix tournament team page meta tags not set 2026-05-03 11:55:10 +03:00
Kalle
8563a4956a Deprecate tournament team page DB call in favor of derived data 2026-05-02 14:06:45 +03:00
Kalle
539da816bf
Make date time format apply everywhere (#3023) 2026-05-01 10:11:29 +03:00
Kalle
ec981d586e Fix team having many tournament level check-ins
Concrete bug it caused: wrong team count for tournament card on the front page
2026-04-27 18:05:49 +03:00
Kalle
b26f4ab254 Migrate setHistoryByTeamId to Kysely 2026-04-27 08:43:30 +03:00
Kalle
2865fc3415 Have "simple seeded list" get all teams if none checked in yet
Previous behavior just looks broken to users.
Proper fix is still just making a more robust
team export.
2026-04-26 14:55:05 +03:00
Kalle
d2440c4a32
Round robin only tournament support (#2996) 2026-04-24 18:03:53 +03:00
Kalle
bebf23e55e Fix tournament register tab map pool styles 2026-04-21 08:59:58 +03:00
Kalle
793ebfe4a4 Fix avgSeedingSkillOrdinal condition in autoseed
Basically this should never happen so this is not fixing any known bug
2026-04-19 07:10:49 +03:00
Kalle
2ed02f757d
A/B (bipartite) round robin variation (#2985) 2026-04-18 14:21:28 +03:00
Kalle
e75836e598 Tournament teams list page team members' name styling tweaks
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2026-04-15 20:39:34 +03:00
Kalle
1f71338184 Backend check to ensure in-game name set when registering
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
There are also other checks but one final gate to make sure it won't happen
2026-04-14 20:47:46 +03:00
Kalle
f3e660917d
Various tournament queries migrated to Kysely (#2978) 2026-04-14 20:26:48 +03:00
Kalle
d35661a4bc Fix test tournaments showing on /events page after being finalized 2026-04-14 19:55:56 +03:00
Kalle
a213c882fc Admin only setting to have enough SQ sets to sign up for the tournament 2026-04-11 14:56:32 +03:00
Kalle
3d7ea4447a Revalidate match pages on team drop 2026-04-11 13:34:16 +03:00
Kalle
c4a4322eb5 Move related functions to TournamentTeamRepository
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-04-09 21:24:33 +03:00
Kalle
2acc918307
Remove redundant isOwner column (#2944) 2026-04-06 15:21:15 +03:00
Kalle
1e8cccb800
Tournament auto vods & censor mode (#2933) 2026-04-02 17:29:58 +03:00
Kalle
dfa95bd92d Migrate to nested CSS 2026-03-28 16:30:28 +02:00
Kalle
3240a81bb5 Allow locking a tournament match for a specific stream
Closes #2919
2026-03-28 14:38:46 +02:00
Kalle
2af957c83b Upgrade deps
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-03-28 08:24:48 +02:00
Kalle
3925b73d32 Replace useIsMounted with useHydrated
Strict improvement because we avoid the flash on clientside navigation.
One practical bug was scroll restoration between tournament teams list
and user page. When user pressed back they ended up at the bottom
of the page because the placeholder (smaller height than actual
content) rendered. With useHydrated this placeholder is no longer
rendered for client side navigations.
2026-03-28 07:44:52 +02:00
Kalle
48de5654ff Fix a few missing isPlaceholder filters in tournament team queries
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-03-27 20:46:10 +02:00
Kalle
af15b22f54 Fix LUTI league division friend code hiding too early
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2026-03-24 22:24:16 +02:00
Kalle
c9b3a576b6 Remove blank space at the top of markdown 2026-03-24 21:53:04 +02:00
Kalle
cb286d37e5 Add share tournament URL button 2026-03-24 21:53:04 +02:00
Kalle
574c1300e9 Hide teams on the league sign up page after divisions have been created
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Closes #2851
2026-03-23 22:00:23 +02:00
Kalle
0aa31c0683 Add TO/Stream labels back to tournament chats 2026-03-23 21:04:49 +02:00
Kalle
09b0659ddd Ensure tournament match unlocked as soon as the date changes somewhere in the world 2026-03-23 18:15:41 +02:00
Kalle
8f748323c7 Fix /to/:id/teams player name link full width of the page 2026-03-22 20:45:13 +02:00
Kalle
635cea5221 Make more space for change IGN admin action
Quite hacky but anyway the idea is to replace this whole UI in the future
2026-03-22 15:45:49 +02:00
Kalle
50d0afe22f Fix Edit brackets button seemingly not doing anything
Unclear if this happened in production too because we have React Compiler which I expect to auto-memoize most things.

The bug: The bug: The useMemo for the tournament object in to.$id.tsx:105 depended on [data], but data is created by JSON.parse(rawData) on every render, producing a new object reference each time. This made tournament a new object every render. In the admin page (to.$id.admin.tsx:45-47), there's a useEffect(() => setEditingProgression(false), [tournament]) intended to close the dialog after a successful bracket update. Since tournament was unstable, this effect fired on every render — including right after opening the dialog — instantly closing it.
2026-03-22 10:28:08 +02:00
Kalle
929974535d Fix Subs tab shown when disabled in the settings
Also renamed the variables to better reflect the change from just subs to full on LFG
2026-03-22 09:34:59 +02:00
Kalle
56a835611a Update Biome to 2.4.8 2026-03-21 15:19:32 +02:00
Kalle
3ec29883f5 Better LIVE tournament logic for streams sidebar 2026-03-21 15:02:47 +02:00
Kalle
19213056a7 Fix tournaments always reporting as not saved if placeholder team (in /looking) 2026-03-20 17:50:38 +02:00
Kalle
ed5cd90734 Fix subs tab showing on LUTI sign up page after reg closed 2026-03-19 19:31:48 +02:00
Kalle
fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00
Kalle
6834c86952 Fix IGN special characters not counting correctly for word limit
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-03-09 20:42:45 +02:00
Kalle
3a6dc4ace5
Draft tournaments (#2826) 2026-02-21 08:16:03 +02:00
Kalle
1f6eaef895 Fix tournament page time formatting in 24h mode
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Closes #2773
2026-02-20 18:29:18 +02:00