sendou.ink/app/components/layout
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
..
AnythingAdder.tsx Design refresh + a bunch of stuff (#2864) 2026-03-19 17:51:42 +02:00
AuthErrorDialog.tsx More actionable auth error messages for user 2026-04-12 17:07:14 +03:00
ChatSidebar.module.css Prevent not link room headers not styled as such when hovered 2026-04-02 22:14:10 +03:00
ChatSidebar.tsx Show current route's chat in room list even when expired 2026-05-02 11:36:56 +03:00
Footer.module.css Add version link to the footer 2026-04-01 20:58:09 +03:00
Footer.tsx Add version link to the footer 2026-04-01 20:58:09 +03:00
GlobalSearch.module.css Search shortcuts (#2963) 2026-04-12 17:03:32 +03:00
GlobalSearch.tsx Fix Global Search flashing "No results" when it's searching 2026-04-27 08:52:16 +03:00
index.module.css Fix squished breadcrumbs logo on Firefox 2026-04-12 17:07:14 +03:00
index.tsx Make date time format apply everywhere (#3023) 2026-05-01 10:11:29 +03:00
LogInButtonContainer.tsx More actionable auth error messages for user 2026-04-12 17:07:14 +03:00
nav-items.ts Design refresh + a bunch of stuff (#2864) 2026-03-19 17:51:42 +02:00
NotificationPopover.module.css Migrate to nested CSS 2026-03-28 16:30:28 +02:00
NotificationPopover.tsx Close mobile panel on notification click 2026-03-20 04:59:36 +01:00
TopNavMenus.module.css Migrate to nested CSS 2026-03-28 16:30:28 +02:00
TopNavMenus.tsx Always show admin nav item when dev 2026-04-26 14:43:42 +03:00
TopRightButtons.module.css Design refresh + a bunch of stuff (#2864) 2026-03-19 17:51:42 +02:00
TopRightButtons.tsx Design refresh + a bunch of stuff (#2864) 2026-03-19 17:51:42 +02:00
UserItem.module.css Migrate to nested CSS 2026-03-28 16:30:28 +02:00
WeaponSearch.tsx Make GlobalSearch actual links so we can ctrl+click for new tab 2026-03-24 19:56:44 +02:00