Home split into a Puzzles half and a Play half #457

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

Parent

#450

What to build

The home splits into a Puzzles half and a Play half (prototype variant G).

Puzzles half (signed-in Player)

  • The Puzzle rating.
  • Mixed training, or Resume when an Attempt is pending, leading to /puzzles/train.
  • Three Theme shortcuts with small boards: the three Themes the Player has tried least, ties broken by curated order.
  • An "All Themes" link to /puzzles.

Puzzles half (visitor)

  • A pitch line and a still board.
  • "Create an Account", leading to /sign-up?redirect=/puzzles, so the visitor lands on the Puzzles landing once signed up.

Play half

  • Online first: create a Room, or join one by code or invite link, as today.
  • Local becomes the link "or on one screen".

How it is composed

The Puzzles half is a puzzles widget the route hands to the home page as a slot, as it already hands it Room creation. The home vertical never imports the puzzles vertical.

Responsive

  • Phone: the halves stack, Puzzles first, each at its content's height.
  • 1920 px: each half centres its content in a column of at most 36 rem.

This is the last ticket: it adds the spec's main e2e journeys. Its merge request also closes #450.

Covers stories 1–7, the home's and the landing's part of 39, and the end-to-end coverage of the main stories.

Seam: E2E — apps/e2e/tests/puzzles.spec.ts (the home's states also get view tests on the front seam)

Acceptance criteria

  • A signed-in Player sees the rating, Mixed or Resume, and the three least-tried Themes; a visitor sees the pitch and "Create an Account"
  • After signing up from the Puzzles half, a visitor lands on /puzzles
  • The Play half creates and joins a Room as today; Local is reachable from its link
  • E2E, signed in: home → Puzzles half → landing → a Theme card → solve → result dialog with the rating change → Next
  • E2E, visitor: home → "Create an Account" → sign-up → the landing
  • E2E at 1920×1080: the solving board is at least 800 px tall; the landing's and My games' main column is centred within 1 px
  • Browser check at 390, 1280 and 1920 px, for both a signed-in Player and a visitor, with screenshots in the merge request
## Parent #450 ## What to build The home splits into a **Puzzles** half and a **Play** half (prototype variant G). **Puzzles half (signed-in Player)** - The Puzzle rating. - Mixed training, or Resume when an Attempt is pending, leading to `/puzzles/train`. - Three Theme shortcuts with small boards: the three Themes the Player has tried least, ties broken by curated order. - An "All Themes" link to `/puzzles`. **Puzzles half (visitor)** - A pitch line and a still board. - "Create an Account", leading to `/sign-up?redirect=/puzzles`, so the visitor lands on the Puzzles landing once signed up. **Play half** - Online first: create a Room, or join one by code or invite link, as today. - Local becomes the link "or on one screen". **How it is composed** The Puzzles half is a `puzzles` widget the route hands to the home page as a slot, as it already hands it Room creation. The home vertical never imports the puzzles vertical. **Responsive** - Phone: the halves stack, Puzzles first, each at its content's height. - 1920 px: each half centres its content in a column of at most 36 rem. This is the last ticket: it adds the spec's main e2e journeys. Its merge request also closes #450. Covers stories 1–7, the home's and the landing's part of 39, and the end-to-end coverage of the main stories. Seam: E2E — `apps/e2e/tests/puzzles.spec.ts` (the home's states also get view tests on the front seam) ## Acceptance criteria - [ ] A signed-in Player sees the rating, Mixed or Resume, and the three least-tried Themes; a visitor sees the pitch and "Create an Account" - [ ] After signing up from the Puzzles half, a visitor lands on `/puzzles` - [ ] The Play half creates and joins a Room as today; Local is reachable from its link - [ ] E2E, signed in: home → Puzzles half → landing → a Theme card → solve → result dialog with the rating change → Next - [ ] E2E, visitor: home → "Create an Account" → sign-up → the landing - [ ] E2E at 1920×1080: the solving board is at least 800 px tall; the landing's and My games' main column is centred within 1 px - [ ] Browser check at 390, 1280 and 1920 px, for both a signed-in Player and a visitor, with screenshots in the merge request
root commented 2026-10-19 14:46:50 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #450

marked this issue as related to #450
root commented 2026-10-19 14:47:08 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #453

marked this issue as related to #453
root commented 2026-10-19 14:47:09 +00:00 (Migrated from gitlab.core-project.space)

marked this issue as related to #455

marked this issue as related to #455
root commented 2026-10-19 15:01:58 +00:00 (Migrated from gitlab.core-project.space)

mentioned in merge request !557

mentioned in merge request !557
root commented 2026-10-19 16:27:05 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 1f1f9e7c38

mentioned in commit 1f1f9e7c380cae5b8959a61680edd0ef704fddf3
root commented 2026-10-19 16:27:06 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 6ecbdc1a32

mentioned in commit 6ecbdc1a3273aeac95e2e83df9b6187274c4b4c7
root commented 2026-10-19 18:46:25 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit 7dfd4bfd1e

mentioned in commit 7dfd4bfd1ef18cca10149798391621460d11ffab
root commented 2026-10-19 18:46:25 +00:00 (Migrated from gitlab.core-project.space)

mentioned in commit a5044b73d3

mentioned in commit a5044b73d3bdccce176d728aa49267d44fd5c725
root (Migrated from gitlab.core-project.space) closed this issue 2026-10-19 19:20:05 +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#457
No description provided.