Blocking modal when the Room has closed #246
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
spec
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#242 Translate the front with a language provider (English + French)
amaurycoudr/chess-project
Reference
amaurycoudr/chess-project#246
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_FOUNDrefusal, which today stops following silently, and any write (Move, Offer, Resignation…) refused withROOM_NOT_FOUND, which today only shows a toast.Copy goes into the i18n catalogue from #242.
Seam:
RoomViewthrough the room harness and MSW (view tests).Acceptance criteria
ROOM_NOT_FOUNDon the change stream opens the modal.ROOM_NOT_FOUNDopens the modal instead of only toasting./, New game creates a new Room.mentioned in issue #242
mentioned in issue #243
marked this issue as related to #242
marked this issue as related to #243
mentioned in commit
9e83cbe0bbmentioned in commit
f6a874134fmentioned in commit
154e6acb28mentioned in commit
45b31a60a3mentioned in commit
6440da32e5mentioned in commit
16e8cc9676mentioned in commit
1967661e18mentioned in commit
c7dbf16eb3mentioned in commit
4cc57ee4e6mentioned in commit
af2bb23822mentioned in commit
ed35df4821mentioned in commit
020c516588mentioned in commit
d78f48c3a1mentioned in commit
47df3ea4a4