My games: this browser's decided Games, reachable from the navigation #376

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

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


Parent

#355

What to build

The /games route ("My games") lists this browser's decided Games, newest first. Each row shows:

  • when the Game ended;
  • the Player's Color;
  • the opponent as "Guest" with their Color;
  • the Player's result (won, lost or drawn);
  • how it ended.

Each row links to its Game page. An empty list says why: either no Games yet, or this browser has no Guest. A "My games" link joins the site navigation. New strings go in English and French.

This ticket also adds the one new e2e spec. Two Players play and one resigns. Each opens "My games" and sees the Game with their own result. One opens it, and a third browser context opens its link and reads the result and the Moves.

Seam: the front views (the new "My games" view, beside it with its harness and MSW); e2e (one new spec).

Acceptance criteria

  • Rows are newest first and show ended time, Color, "Guest" with the opponent's Color, result and ending (story 14).
  • An empty list shows a message saying why, both with no Games and with no Guest (story 15).
  • A "My games" link in the site navigation reaches the list from any page (story 16).
  • A row opens its Game page.
  • The new e2e spec passes: after a Resignation, both Players see the Game in "My games" with their own result, and a third context with no Guest reads the result and Moves by link (story 17).
  • The existing e2e specs stay green.
> _Imported from GitHub [amaurycoudr/chess-project#376](https://github.com/amaurycoudr/chess-project/issues/376), opened by [@amaurycoudr](https://github.com/amaurycoudr) on 2026-10-11 16:26 UTC._ <!-- github-issue:376 --> --- ## Parent #355 ## What to build The `/games` route ("My games") lists this browser's decided **Games**, newest first. Each row shows: - when the **Game** ended; - the **Player**'s **Color**; - the opponent as "Guest" with their **Color**; - the **Player**'s result (won, lost or drawn); - how it ended. Each row links to its **Game** page. An empty list says why: either no **Games** yet, or this browser has no **Guest**. A "My games" link joins the site navigation. New strings go in English and French. This ticket also adds the one new e2e spec. Two **Players** play and one resigns. Each opens "My games" and sees the **Game** with their own result. One opens it, and a third browser context opens its link and reads the result and the **Moves**. Seam: the front views (the new "My games" view, beside it with its harness and MSW); e2e (one new spec). ## Acceptance criteria - [ ] Rows are newest first and show ended time, **Color**, "Guest" with the opponent's **Color**, result and ending (story 14). - [ ] An empty list shows a message saying why, both with no **Games** and with no **Guest** (story 15). - [ ] A "My games" link in the site navigation reaches the list from any page (story 16). - [ ] A row opens its **Game** page. - [ ] The new e2e spec passes: after a **Resignation**, both **Players** see the **Game** in "My games" with their own result, and a third context with no **Guest** reads the result and **Moves** by link (story 17). - [ ] The existing e2e specs stay green.
root commented 2026-10-11 16:26:37 +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): #355
  • Blocked by: #375
  • Blocking: #378
> _GitHub issue relations, imported as "related" links (GitLab CE has no sub-issues or blocking links)._ <!-- github-relations --> - Parent (sub-issue of): #355 - Blocked by: #375 - Blocking: #378
root commented 2026-10-13 08:39:46 +00:00 (Migrated from gitlab.core-project.space)

mentioned in issue #378

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

mentioned in issue #355

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

mentioned in issue #375

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

marked this issue as related to #355

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

marked this issue as related to #375

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

marked this issue as related to #378

marked this issue as related to #378
root commented 2026-10-13 14:34:16 +00:00 (Migrated from gitlab.core-project.space)

mentioned in merge request !515

mentioned in merge request !515
root (Migrated from gitlab.core-project.space) closed this issue 2026-10-14 09:36:59 +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#376
No description provided.