Commit Graph

55 Commits

Author SHA1 Message Date
Kalle
c7ba494b2b Match page get rid of join tab 2026-06-17 17:32:54 +03:00
Kalle
75179e5077 Zod validated config for security and ease of getting started 2026-06-15 14:12:15 +03:00
Kalle
bd14f88eaa Supporter uploaded avatar 2026-06-14 14:08:23 +03:00
Kalle
1859815366 Enable RR8 future flags: v8_trailingSlashAwareDataRequests & v8_viteEnvironmentApi 2026-06-12 20:52:02 +03:00
Kalle
544fe4f66c Chat misc fixes 2026-06-11 21:27:38 +03:00
Kalle
c4c0b6dd50 Migrate repository functions to use user id via ALS
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-06-06 14:56:43 +03:00
Kalle
a3d7cb2fcb
Scrim map by map mode (#3104) 2026-05-25 17:35:44 +03:00
Kalle
6a72946b45
New hooks and components for localized date time (#3065) 2026-05-17 13:19:25 +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
20118fb7a5
Fix WS revalidate on tournament bracket & match pages (#3061) 2026-05-13 20:17:29 +03:00
Kalle
0bcbc83cb4 Fix splatnet room url detection logic 2026-05-12 20:32:06 +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
747a63edbc Show current route's chat in room list even when expired
Non-participants (e.g. tournament organizers) viewing a tournament
match chat could see the chat auto-open correctly, but clicking the
back arrow to the room list left the chat invisible — the only way
back was to leave the route and return.

The match chat appears in chatContext.rooms via the SUBSCRIBE
response, which (unlike the initial-payload path that participants
go through) does not check room expiry on the skalop side. So an
organizer viewing an old match ends up with an expired room in
their rooms list. ChatView already handles this gracefully with a
read-only banner, but RoomList was filtering on
expiresAt > Date.now() and dropping it.

Cleanup in useChatRouteSync removes the room from chatContext.rooms
on navigation, so exempting the current route's chatCode from the
expiry filter only affects the page that subscribed to it.
2026-05-02 11:36:56 +03:00
Kalle
ed0467f98e Fix tournament chats expiring too early
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
In round robin, all matches are set to have both participants at the start.
If the bracket is larger e.g. 5 rounds then later rounds might have chat
disappearing before teams get a chance to play it.

Closes #3005
2026-04-25 21:15:17 +03:00
Kalle
51c94d2229 Don't show own messages as unread in chat 2026-04-19 14:36:56 +03:00
Kalle
3d7f24d2ee Allow TO's to read chats after tournament has finalized 2026-04-19 10:29:54 +03:00
Kalle
fa9ac427bd Don't modify chat messages array in place
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-11 11:20:56 +03:00
Kalle
7593b15329 Add message deduplication
This should already be handled in the server logic but just another
check here in case the server logic fails for whatever reason.
2026-04-02 22:13:57 +03:00
Kalle
dfa95bd92d Migrate to nested CSS 2026-03-28 16:30:28 +02:00
Kalle
0aa31c0683 Add TO/Stream labels back to tournament chats 2026-03-23 21:04:49 +02:00
Kalle
8d0881343c Fix load chat history on page load 2026-03-23 18:43:45 +02:00
Kalle
c3e5e73600 Fix SendouQ group chat not always showing 2026-03-20 16:55:46 +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
hfcRed
91e26948b2
Add pronouns for users (#2688)
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2026-01-02 18:34:32 +02:00
Kalle
393955f5eb
React 19, Vite 7, Vitest 4 etc. (#2683) 2025-12-30 17:03:13 +02:00
Kalle
81483de0db
Upgrade to React Router 7 (#2681) 2025-12-29 19:21:11 +02:00
Kalle
24008775aa
24h clock user preference (#2618) 2025-11-09 14:25:14 +02:00
Kalle
b3de79cee8
E2E tests against built site + add to pipeline (#2563) 2025-10-11 11:14:33 +03:00
Kalle
3d9995622b
Refactor tournament realtime from SSE to Websocket (#2469) 2025-08-28 18:59:34 +03:00
Kalle
4d5eaf288b Fix SendouQ chat buttons styling 2025-06-30 21:35:46 +03:00
Kalle
dd1adad94b BIome v2 upgrade
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2025-06-22 16:49:27 +03:00
Kalle
accbaf40db
Refactor Button to SendouButton (#2367)
* initial

* done

* import ordering
2025-06-05 21:00:14 +03:00
Kalle
84cdd58fe8 Refactor app/constants away 2025-05-31 13:54:34 +03:00
Kalle
b4cc185d1d
Scrims (#2211)
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
* Initial

* Progress

* Initial UI

* Can submit request

* Progress

* Show text if no scrims

* Can cancel request, tabs

* Delete post

* Popover if can't delete

* Request rows

* Progress

* Scrim page initial

* Fix migration order

* Progress

* Progress

* Works again

* Make it compile

* Make it compile again

* Work

* Progress

* Progress

* Progress

* Associations initial

* Association visibility work

* notFoundVisibility form fields initial

* Progress

* Association leave/join + reset invite code

* Progress

* Select test

* Merge branch 'rewrite' into scrims

* Remeda for groupBy

* Select with search

* Outline styling for select

* Select done?

* Fix prop names

* Paginated badges

* Less important

* Select no results

* Handle limiting select width

* UserSearch non-working

* Fix problem from merge

* Remove UserSearch for now

* Remove todo

* Flaggable

* Remove TODOs

* i18n start + styling

* Progress

* i18n done

* Add association e2e test

* E2E tests

* Done?

* Couple leftovers
2025-04-20 22:51:23 +03:00
Kalle
8039636e5f Show connectin status text for chat 2025-03-23 13:57:01 +02:00
Kalle
dbc85639fc Replace reconnecting-websocket with a maintained fork 2025-03-23 13:38:21 +02:00
Kalle
71e872f97d Show chat message timestamp with day+month if sent more than 24 hours ago 2025-03-23 13:29:57 +02:00
Kalle
c0ec15b7de Unify db type files
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2025-03-21 21:47:08 +02:00
Kalle
4ff0586ff8
Notifications (#2117)
* Initial

* Progress

* Fix

* Progress

* Notifications list page

* BADGE_MANAGER_ADDED

* Mark as seen initial

* Split tables

* Progress

* Fix styles

* Push notifs initial

* Progress

* Rename

* Routines

* Progress

* Add e2e tests

* Done?

* Try updating actions

* Consistency

* Dep fix

* A couple fixes
2025-03-01 13:59:34 +02:00
Kalle
346c587239 Root loader -> import.meta.env for possible values 2024-07-28 10:00:24 +03:00
Kalle
8afbe29086 Slim down root loader some 2024-07-27 00:00:54 +03:00
Kalle
fd48bced91
Migrate Prettier/Eslint/Stylelint setup to Biome (#1772)
* Initial

* CSS lint

* Test CI

* Add 1v1, 2v2, and 3v3 Tags (#1771)

* Initial

* CSS lint

* Test CI

* Rename step

---------

Co-authored-by: xi <104683822+ximk@users.noreply.github.com>
2024-06-24 13:07:17 +03:00
Kalle
ab34e5daea Don't autoscroll chat when viewing old messages 2024-06-16 12:37:03 +03:00
Kalle
bfce8d9646
Custom name (#1754)
* Migration and edit

* Migrate from discordName

* discordDiscriminator
2024-06-03 22:20:21 +03:00
Kalle
2b53c348e6 Switch to own invariant that logs errors in prod 2024-06-02 14:34:01 +03:00
Kalle
93ebb6e369 Migrate to Vite 2024-02-24 21:12:54 +02:00
Kalle
72fa1f68c8
Season 3 SendouQ changes (#1674)
* Mode Map Pool picker component initial

* Component in settings

* Lottery initial

* Fix tests

* useTrusters as perf optimization

* unionAll -> union

* Fancy picker for tournaments

* Map pools memento

* FC's initial

* Friend code when registering for tournament

* FC in flows

* SHow FC in places

* Add catch in case

* Fix disabling

* Show ELO changed

* Wiggle MapPool button if already selected

* CSS vars typing

* Rechallenging

* Team (all) leaderboard

* Preview groups

* Fix chat width changing

* Solid reported weapons

* Clearer cancel requested header

* Dynamic revalidates

* spDiff from memento

* (Partly) Revert "Remove screen banning"

This reverts commit 076cabfbfa.

* Screen indicators in looking view

* FC i18n

* noscreen = 0

* E2E test

* E2E 2
2024-02-24 12:07:17 +02:00
hfcRed
a3757199aa
Volume slider (#1622)
* Fixed slider border

* Implemented volume slider

* Mounted check

* Added IsBrowser helper function

* Fix for Firefox not supporting TouchEvent

* Removed IsBrowser function again cause it works without it now I guess lol

* Ran prettier

* Removed useEffect

* Switched from defaultValue to value

* Set default value

* Removed useEffect import

* Ignore audio promises

---------

Co-authored-by: hfcRed <hfcred@gmx.net>
2024-02-10 00:22:54 +02:00
Kalle
e23e949980
Tournament staff (TO & Streamer) (#1619)
* Migrations

* Arrange admin UI

* Load staff from DB

* Fix TODO

* Can add/remove staff

* isTournamentAdmin / isTournamentOrganizer

* Show chat to streamer

* User titles in the chat

* chat name color

* Unique constraint

* TO Staff E2E tests

* Casts on stream page

* Streamer test

* Fix test
2024-01-07 12:41:03 +02:00
Kalle
323a1ea5e3 Remove useTranslation wrapper Closes #1595
This broke after upgrading deps and couldn't figure it out with a quick look.

It just makes it a bit more convenient when adding new pages & debugging
but not really that necessary so decided to delete it for now.
2023-12-07 20:33:59 +02:00