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
AuthErrorDialog.tsx More actionable auth error messages for user 2026-04-12 17:07:14 +03:00
ChatSidebar.module.css
ChatSidebar.tsx Show current route's chat in room list even when expired 2026-05-02 11:36:56 +03:00
Footer.module.css
Footer.tsx
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
NotificationPopover.module.css
NotificationPopover.tsx
TopNavMenus.module.css
TopNavMenus.tsx Always show admin nav item when dev 2026-04-26 14:43:42 +03:00
TopRightButtons.module.css
TopRightButtons.tsx
UserItem.module.css
WeaponSearch.tsx