Commit Graph

10 Commits

Author SHA1 Message Date
Kalle
20118fb7a5
Fix WS revalidate on tournament bracket & match pages (#3061) 2026-05-13 20:17:29 +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
51c94d2229 Don't show own messages as unread in chat 2026-04-19 14:36:56 +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
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