lobby: one game picker from a catalog - #399
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
muchq | 8f7a2d8 | Commit Preview URL Branch Preview URL |
Oct 01 2026, 02:17 AM |
|
Blocking None. One catalog feeds the panel picker, the command menu, and Nits
Fine Right altitude for the first cut of #389: one select grouped by family, one open button, blurb + seats line under it; command menu still lists every game for search. Variants stay a table concern ( Review of #399 |
|
Both nits are fixed in 8f7a2d8:
Generated by Claude Code |
First step on #389. The lobby panel's four "Open a … table" buttons, each with its own blurb, become one picker that scales as the catalog grows.
lobby/catalog.ts: one list of what a room can play. Each entry has its family (Cards or Board), seat range, blurb, and any variants chosen at the table. The panel, the command menu andseatsOfall read it, so a new game is one entry here plus its table hook.<select>grouped by family, one "Open a {game} table" button, and under them the picked game's blurb and seats line ("2 players", "2–4 players · 7-card, 10-card or gin, chosen at the table").Tests: the catalog's order, seats and seats line, and the picker's groups, options, single button and blurb for each pick. Vitest, typecheck and lint are clean. I checked it visually at 390×844.
Left for later on #389:
Refs #389
Generated by Claude Code