Commit Graph

1897 Commits

Author SHA1 Message Date
Kalle
eb8d98dbb7 Progress 2026-05-22 21:31:15 +03:00
Kalle
fe9fc8c9d8 Progress 2026-05-21 21:27:37 +03:00
Kalle
a3dae458da Use proper timeline component 2026-05-21 20:45:19 +03:00
Kalle
487545f648 Initial 2026-05-20 20:59:29 +03:00
Kalle
beaf7bb2e4 Fix can rejoin SQ via vote in off-season
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
Closes #3079
2026-05-19 22:04:35 +03:00
Kalle
32c0a872b2 Fix front page space received when off-season
Closes #3078
2026-05-19 21:45:05 +03:00
Kalle
323d520587 Add EU as country option 2026-05-19 21:32:10 +03:00
Kalle
77121e2a37 Make placements table progression indicators links 2026-05-19 21:20:56 +03:00
Kalle
0f1bc97aed Show tournament team seeds on the match page
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 #3080
2026-05-18 20:46:24 +03:00
Kalle
8dc92140fc
Optimize builds loaders (#3076)
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-05-17 16:21:13 +03:00
Kalle
9635f386b2 Handle team dropped out tournament match page (fix crash) 2026-05-17 16:11:20 +03:00
Kalle
f05b95901a Allow staff to confirm pending SQ match final score 2026-05-17 14:11:27 +03:00
Kalle
6a72946b45
New hooks and components for localized date time (#3065) 2026-05-17 13:19:25 +03:00
Kalle
002e3cc3b9 Fix tournament summary matchesCount not considering seasonx
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-16 18:09:54 +03:00
Kalle
3f28bc551c Fix add skill in tournament summary query plan 2026-05-16 17:53:05 +03:00
Kalle
371d3c82db Revert "Disable tournament finalize temporarily"
This reverts commit 91043b66d2.
2026-05-16 16:07:20 +03:00
Kalle
91043b66d2 Disable tournament finalize temporarily 2026-05-16 15:54:38 +03:00
Kalle
d004efa3b1 Optimize ReportedWeapon queries on user seasons page
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-05-14 22:03:37 +03:00
Kalle
4bc8033841 Collapse repeated manual badge grants into a count column
TournamentBadgeOwner previously stored manual grants as N identical
rows to represent "this user has this badge N times" — one user had
12,345 duplicate rows for a single badge. This adds a `count` column,
collapses NULL-tournamentId duplicates in the backfill, and rewrites
the BadgeOwner view to expose count via SUM. The table shrinks from
75,596 to 24,204 rows. Also adds an index on TournamentBadgeOwner(userId)
as defense-in-depth for direct lookups, and updates replaceOwners to
dedupe ownerIds at insert time. Profile-page query for the worst-case
user drops from ~4 ms to ~1–2 ms warm.
2026-05-14 18:09:41 +03:00
Josiah Glosson
3b7d941d59
Add /api/tournament/:id/streams route (#3067) 2026-05-14 16:33:36 +03:00
BrushMommy
099449cbc6
badge: add badge for Journey's End (#3071) 2026-05-14 16:31:10 +03:00
Kalle
ea5a78208b Return 404 response if tournament id is not matching on match page
Just to avoid the page crashing if they somehow ended on URL like this
2026-05-14 15:02:15 +03:00
Kalle
70f2f49688 Replace URL.canParse with custom function
Still not baselinely widely available, so causes problems with some older browsers
2026-05-14 15:01:09 +03:00
Kalle
9278214d77 Fix can't add friend to pick-up scrim with no friend code
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-14 07:20:58 +03:00
Kalle
d18a5cd118 Tweak SQ settings page sound spacings 2026-05-13 21:38:49 +03:00
Kalle
806207d34e Fix SecurityError from comp-analyzer slider replaceState spam
Dragging the enemy SubDef / RES sliders on the comp-analyzer page
fired `useSearchParamState`'s setter on every intermediate value,
which calls `window.history.replaceState`. Browsers cap that at
100 calls per 10 seconds, so any sustained drag tripped:

    SecurityError: Attempt to use history.replaceState()
    more than 100 times per 10 seconds

Split the slider state into two cells: a local `useState` that drives
the slider thumb, label, and damage calculations on every change, and
the URL-backed hook value, which is only written on drag-end events
(`onPointerUp`, `onKeyUp`, `onBlur`). The URL now updates once per
interaction instead of once per pixel.
2026-05-13 21:24:02 +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
9ce94d71c5 Fix internal server error response when SQ match was already created
Closes #3058
2026-05-12 20:33:32 +03:00
Kalle
0bcbc83cb4 Fix splatnet room url detection logic 2026-05-12 20:32:06 +03:00
Kalle
fe782602fe Default to rosters tab on match page + show pool/qr code indicator
Closes #3053
2026-05-12 20:32:06 +03:00
Kalle
b4bdd9d0df Optimize MatchTimer by skipping useless rerenders
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
Realistically not a problem but trying to systematically get rid of
all these useless rerenders no matter how small they are in impact
2026-05-11 21:10:53 +03:00
Kalle
5f94206861 Upgrade react-router, react 2026-05-11 20:50:13 +03:00
Kalle
ee6e92967b Allow reporting weapons after tournament has finalized 2026-05-11 20:50:13 +03:00
Kalle
a5e69273c7 New plus voting logic, add proper tie logic 2026-05-11 20:50:13 +03:00
Kalle
ce45bdb7f8 Do not allow making tournament draft if already was not draft 2026-05-11 20:50:13 +03:00
Kalle
49b563e5ef Rename clearTimeout -> clearInterval for clarity 2026-05-11 19:38:00 +03:00
honk-s
a44137b91b
badge: add badge for Cats Have 7 Lives (#3062) 2026-05-11 17:27:10 +03:00
Kalle
f9adca6af7
New Plus Voting pass criteria (#2924)
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-10 16:26:08 +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
2d48d71ccc Optimize bracketIdxsForStandings and future proof bracketsReachableFrom 2026-05-10 14:22:40 +03:00
BrushMommy
c7ef9bb7bd
add equalizer badge (#3059) 2026-05-10 14:21:16 +03:00
Kalle
521a3add7c Do not show Own team/Opponent label when not in the match
Closes #3044
2026-05-09 15:41:41 +03:00
Kalle
6bf6147078 Fix /org/new page hydration error 2026-05-09 15:41:41 +03:00
Kalle
93bcaff5e9 Handle adding org name that already exists gracefully
Closes #3045
2026-05-09 15:41:41 +03:00
Kalle
31710f4f8d Fix org series history page showing players who did not play and multiple 1st placers formats 2026-05-09 15:41:41 +03:00
Kalle
9a18597964 Fix Plus Server suggestions page layout shift
Closes #3051
2026-05-09 15:41:41 +03:00
Kalle
8e6b975e02 Fix tournament match pages with BYE not responding 404
Closes #3052

This also fixes these BYE matches having a tournament match chat
2026-05-09 15:41:41 +03:00
Kalle
eb7adfd7e2 Use Skill.createdAt when available for seasons page skill graph
Closes #3046

Main point is to fix the league (long running) skill timing
but this also should improve it for tournaments
because sometimes there is a gap between finalized at and started at.
2026-05-09 15:41:41 +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