Blocking modal when the Room has closed #246

Closed
opened 2026-10-05 08:19:14 +00:00 by root · 19 comments
root commented 2026-10-05 08:19:14 +00:00 (Migrated from gitlab.core-project.space)

Imported from GitHub amaurycoudr/chess-project#246, opened by @amaurycoudr on 2026-10-05 08:19 UTC.
Closed on GitHub on 2026-10-05 13:37 UTC as completed.


Parent

#243

What to build

When the Room no longer exists on the server (evicted after its TTL, or lost to a server sleep or redeploy), the Player is not left on a frozen board. A blocking modal says "This room has closed", with [Back home] and [New game]. The board stays visible behind it.

Two sources raise it: the change stream's ROOM_NOT_FOUND refusal, which today stops following silently, and any write (Move, Offer, Resignation…) refused with ROOM_NOT_FOUND, which today only shows a toast.

Copy goes into the i18n catalogue from #242.

Seam: RoomView through the room harness and MSW (view tests).

Acceptance criteria

  • A ROOM_NOT_FOUND on the change stream opens the modal.
  • A write refused with ROOM_NOT_FOUND opens the modal instead of only toasting.
  • The modal cannot be dismissed; Back home goes to /, New game creates a new Room.
  • Other refusals keep their current toast.
  • A Room gone while the stream was down opens the modal on the next write.
> _Imported from GitHub [amaurycoudr/chess-project#246](https://github.com/amaurycoudr/chess-project/issues/246), opened by [@amaurycoudr](https://github.com/amaurycoudr) on 2026-10-05 08:19 UTC._ > _Closed on GitHub on 2026-10-05 13:37 UTC as completed._ <!-- github-issue:246 --> --- ## Parent #243 ## What to build When the Room no longer exists on the server (evicted after its TTL, or lost to a server sleep or redeploy), the Player is not left on a frozen board. A blocking modal says "This room has closed", with [Back home] and [New game]. The board stays visible behind it. Two sources raise it: the change stream's `ROOM_NOT_FOUND` refusal, which today stops following silently, and any write (Move, Offer, Resignation…) refused with `ROOM_NOT_FOUND`, which today only shows a toast. Copy goes into the i18n catalogue from #242. Seam: `RoomView` through the room harness and MSW (view tests). ## Acceptance criteria - [ ] A `ROOM_NOT_FOUND` on the change stream opens the modal. - [ ] A write refused with `ROOM_NOT_FOUND` opens the modal instead of only toasting. - [ ] The modal cannot be dismissed; Back home goes to `/`, New game creates a new Room. - [ ] Other refusals keep their current toast. - [ ] A Room gone while the stream was down opens the modal on the next write.
root commented 2026-10-05 08:19:14 +00:00 (Migrated from gitlab.core-project.space)

GitHub issue relations, imported as "related" links (GitLab CE has no sub-issues or blocking links).

  • Parent (sub-issue of): #243
  • Blocked by: #242
> _GitHub issue relations, imported as "related" links (GitLab CE has no sub-issues or blocking links)._ <!-- github-relations --> - Parent (sub-issue of): #243 - Blocked by: #242
root (Migrated from gitlab.core-project.space) closed this issue 2026-10-05 13:37:23 +00:00
root commented 2026-10-13 08:40:52 +00:00 (Migrated from gitlab.core-project.space)

mentioned in issue #242

mentioned in issue #242
root commented 2026-10-13 08:40:52 +00:00 (Migrated from gitlab.core-project.space)

mentioned in issue #243

mentioned in issue #243
root commented 2026-10-13 08:41:52 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #242

marked this issue as related to #242
root commented 2026-10-13 08:41:53 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #243

marked this issue as related to #243
root commented 2026-10-13 10:19:51 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 9e83cbe0bb

mentioned in commit 9e83cbe0bb5040fb22da22b57f703edd3523f742
root commented 2026-10-13 10:19:51 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit f6a874134f

mentioned in commit f6a874134f22304491a5b62d4ff413a70ba14ed0
root commented 2026-10-13 10:19:52 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 154e6acb28

mentioned in commit 154e6acb2852bae8a636acb4c3d0032bcf90d0b3
root commented 2026-10-13 10:19:52 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 45b31a60a3

mentioned in commit 45b31a60a3fada38790ae880974671ad0c180d2e
root commented 2026-10-13 10:19:52 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 6440da32e5

mentioned in commit 6440da32e5df0c28222657aaac46eaaafa608f1f
root commented 2026-10-13 10:19:52 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 16e8cc9676

mentioned in commit 16e8cc96763e61b74c894461cf9ea5a6f7dce2be
root commented 2026-10-13 10:19:52 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 1967661e18

mentioned in commit 1967661e18dfe2d9a7c14efc7cf1cba33fd9e099
root commented 2026-10-13 10:19:52 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit c7dbf16eb3

mentioned in commit c7dbf16eb39d852a831af221e981a85d0cc2942c
root commented 2026-10-13 10:19:53 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 4cc57ee4e6

mentioned in commit 4cc57ee4e68cff022f0cf570eb2885cdf535c615
root commented 2026-10-13 10:19:53 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit af2bb23822

mentioned in commit af2bb2382232a8f6fefb23f45910cd081c8d3722
root commented 2026-10-13 10:19:53 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit ed35df4821

mentioned in commit ed35df4821e8e6bc05b8ec6d60ff36dc8b6d11d6
root commented 2026-10-13 10:19:53 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 020c516588

mentioned in commit 020c516588e861a15cb657c43aa0c15800c9b074
root commented 2026-10-13 10:19:54 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit d78f48c3a1

mentioned in commit d78f48c3a17fb201caf0935a6deb7de0d6b9edac
root commented 2026-10-13 10:19:54 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 47df3ea4a4

mentioned in commit 47df3ea4a44fd39a850fba271d3363ecae75e042
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
amaurycoudr/chess-project#246
No description provided.