Rework the room rail: status, actions, leaving, and a Room that is gone #243
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.
Dependencies
No dependencies set.
Reference
amaurycoudr/chess-project#243
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?
Problem Statement
UI feedback on the online game's side rail:
Solution
User Stories
Seams
RoomViewthrough the room harness and MSW (front view tests): stories 1–12 and 14–16.Roomdomain class (API unit tests): the vacated Seat state in the snapshot. It appears afterleave, returns to taken afterjoin, and never shows on a never-taken Seat. This seam backs stories 13 and 15 server-side.apps/e2ebrowser suite: story 13 end to end. A Player clicks Leave and the other sees "Your opponent left."Implementation Decisions
occupied: booleanwith a three-state field: never taken / taken / vacated.room.leave. A laterjoinmakes it taken again.connectedstays.CONTEXT.md.FloorActiongives way to a horizontal bar.restartOffer.ConfirmedActiongains aleaveaction, shown only to seated Players.ROOM_NOT_FOUNDrefusal, and any write refused with it.Testing Decisions
room-presence.test.tsxandroom-offers.test.tsx(view).room.test.tsandroom-offer.test.ts(APIRoom).presence.spec.ts(e2e).Out of Scope
Further Notes
to-ticketson it. A natural split:mentioned in issue #244
mentioned in issue #245
mentioned in issue #246
mentioned in issue #247
mentioned in issue #248
marked this issue as related to #244
marked this issue as related to #245
marked this issue as related to #246
marked this issue as related to #247
marked this issue as related to #248