Names by Username in the Room, "My games" and the Game page; switching devices mid-Game end to end #384

Closed
opened 2026-10-11 16:27:21 +00:00 by root · 11 comments
root commented 2026-10-11 16:27:21 +00:00 (Migrated from gitlab.core-project.space)

Imported from GitHub amaurycoudr/chess-project#384, opened by @amaurycoudr on 2026-10-11 16:27 UTC.


Parent

#364

What to build

A signed-in browser plays as its Account. Create and take mint a Guest only without a Session, and a browser keeps sending a Guest it holds, so a Guest-held Seat stays playable after sign-in. An open Room reconnects its change stream on sign-in and sign-out, so its Connection is identified again. Each Seat in the Room is labelled with its occupant's Username, or "Guest" from the catalogue. "My games" signed in lists the Account's Games, newest first, naming each side. The Game page, opened as the Account, is oriented to its Color with its side labelled "You", and names each side by Username or "Guest", as do the exported PGN tags.

The new e2e spec gains its main test. One Player signs up and creates a Room. A second browser joins as a Guest and sees the first Player's Username beside their Seat. A third browser signs in to the same Account, opens the Room link, is seated with the same Color and plays a Move that the Guest sees.

Seam: the front views; e2e

Acceptance criteria

  • The Room view labels each Seat with a Username or "Guest"
  • "My games" rows, as an Account, name each side and list newest first; an Account with none shows the empty state
  • The Game page as an Account is oriented to its Color, labels its side "You", and names both sides; the PGN tags carry the Username or "Guest"
  • Create and take send no new Guest with a Session; a held Guest is still sent
  • Signing in or out with a Room open reconnects its change stream
  • The main-story e2e test passes in three separate browser contexts, the two sharing an Account sharing only its credentials, with its domain data defined once
  • Every new string is in the catalogue in English and French
> _Imported from GitHub [amaurycoudr/chess-project#384](https://github.com/amaurycoudr/chess-project/issues/384), opened by [@amaurycoudr](https://github.com/amaurycoudr) on 2026-10-11 16:27 UTC._ <!-- github-issue:384 --> --- ## Parent #364 ## What to build A signed-in browser plays as its **Account**. Create and take mint a **Guest** only without a **Session**, and a browser keeps sending a **Guest** it holds, so a **Guest**-held **Seat** stays playable after sign-in. An open **Room** reconnects its change stream on sign-in and sign-out, so its **Connection** is identified again. Each **Seat** in the **Room** is labelled with its occupant's **Username**, or "Guest" from the catalogue. "My games" signed in lists the **Account**'s **Games**, newest first, naming each side. The **Game** page, opened as the **Account**, is oriented to its **Color** with its side labelled "You", and names each side by **Username** or "Guest", as do the exported PGN tags. The new e2e spec gains its main test. One **Player** signs up and creates a **Room**. A second browser joins as a **Guest** and sees the first **Player**'s **Username** beside their **Seat**. A third browser signs in to the same **Account**, opens the **Room** link, is seated with the same **Color** and plays a **Move** that the **Guest** sees. Seam: the front views; e2e ## Acceptance criteria - [ ] The **Room** view labels each **Seat** with a **Username** or "Guest" - [ ] "My games" rows, as an **Account**, name each side and list newest first; an **Account** with none shows the empty state - [ ] The **Game** page as an **Account** is oriented to its **Color**, labels its side "You", and names both sides; the PGN tags carry the **Username** or "Guest" - [ ] Create and take send no new **Guest** with a **Session**; a held **Guest** is still sent - [ ] Signing in or out with a **Room** open reconnects its change stream - [ ] The main-story e2e test passes in three separate browser contexts, the two sharing an **Account** sharing only its credentials, with its domain data defined once - [ ] Every new string is in the catalogue in English and French
root commented 2026-10-11 16:27:21 +00:00 (Migrated from gitlab.core-project.space)

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

> _GitHub issue relations, imported as "related" links (GitLab CE has no sub-issues or blocking links)._ <!-- github-relations --> - Parent (sub-issue of): #364 - Blocked by: #382, #379 - Blocking: #385
root commented 2026-10-13 08:39:50 +00:00 (Migrated from gitlab.core-project.space)

mentioned in issue #385

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

mentioned in issue #364

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

mentioned in issue #379

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

mentioned in issue #382

mentioned in issue #382
root commented 2026-10-13 08:42:30 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #364

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

marked this issue as related to #379

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

marked this issue as related to #382

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

marked this issue as related to #385

marked this issue as related to #385
root commented 2026-10-14 10:36:17 +00:00 (Migrated from gitlab.core-project.space)

mentioned in merge request !523

mentioned in merge request !523
root commented 2026-10-14 13:29:07 +00:00 (Migrated from gitlab.core-project.space)

Delivered by !523, merged into main.

Delivered by !523, merged into main.
root (Migrated from gitlab.core-project.space) closed this issue 2026-10-14 13:29:08 +00:00
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#384
No description provided.