M4: GM panel and phone HUD usability (dry-run findings) #89

Closed
opened 2026-11-21 23:38:54 +01:00 by SirStone · 1 comment
Owner

Part of #63

Dry-run findings from the M4 human playtest stack (Full HD map, 50 tokens, phone 390x844). The panel/UI issues, separate from the phone fps numbers (#77).

GM column

  • The right-hand column is ~8,047 px tall at an 852 px viewport: Walls starts at y≈7,917 and Who sees it sits under Characters/Encountered. With 50 tokens the GM must scroll several screens for routine actions.
  • The token editor is below the 50-row token list.

Player HUD on a phone (390 px)

  • The HUD is one nowrap row: text clips (…Pl…).
  • The Encountered list covers ~44% width x 58% height of the map with 20+ rows and cannot be folded.

Cosmetic

  • Duplicate DOM ids: #gm-token-name / #gm-token-meta repeated per token (50), #gm-roster-name/#gm-roster-state, #roster-name/#roster-state.
  • HUD repeats role/name: GM Scene GM Connected GM connected.
  • Perf overlay label tokens does not say whether it is visible or total.
  • No zoom readout outside ?perf=1.
  • A window marker is a small unlabelled yellow square.

Console on a healthy load

  • A pre-auth /ws upgrade is attempted (browser logs the refusal) before a session exists.
  • Pre-vision tiles … 403 is expected (unexplored tiles) and needs to be documented, not "fixed".

Acceptance (done in this issue)

  • Native <details> sections; editor + Who sees it + Walls near the top; long lists collapsed or capped with their own scroll; selecting a token/wall reveals its editor.
  • Phone HUD wraps without clipping; encountered/characters folded on narrow screens and capped.
  • No duplicate ids; one HUD identity line; perf label states tokens visible N / total M; HUD zoom readout; window marker left canvas-only (no trivial tooltip).
  • No /ws dial on a fresh boot; #77 checklist posts v5 documenting expected 403s and GM-only wall lines.
  • e2e: phone HUD inside 390x844, editor/walls reachable, sections collapse, [id] unique.
Part of #63 Dry-run findings from the M4 human playtest stack (Full HD map, 50 tokens, phone 390x844). The panel/UI issues, separate from the phone fps numbers (#77). ## GM column - The right-hand column is ~8,047 px tall at an 852 px viewport: `Walls` starts at y≈7,917 and `Who sees it` sits under `Characters`/`Encountered`. With 50 tokens the GM must scroll several screens for routine actions. - The token editor is below the 50-row token list. ## Player HUD on a phone (390 px) - The HUD is one nowrap row: text clips (`…Pl…`). - The `Encountered` list covers ~44% width x 58% height of the map with 20+ rows and cannot be folded. ## Cosmetic - Duplicate DOM ids: `#gm-token-name` / `#gm-token-meta` repeated per token (50), `#gm-roster-name`/`#gm-roster-state`, `#roster-name`/`#roster-state`. - HUD repeats role/name: `GM Scene GM Connected GM connected`. - Perf overlay label `tokens` does not say whether it is visible or total. - No zoom readout outside `?perf=1`. - A window marker is a small unlabelled yellow square. ## Console on a healthy load - A pre-auth `/ws` upgrade is attempted (browser logs the refusal) before a session exists. - Pre-vision `tiles … 403` is expected (unexplored tiles) and needs to be documented, not "fixed". ## Acceptance (done in this issue) - [x] Native `<details>` sections; editor + `Who sees it` + `Walls` near the top; long lists collapsed or capped with their own scroll; selecting a token/wall reveals its editor. - [x] Phone HUD wraps without clipping; encountered/characters folded on narrow screens and capped. - [x] No duplicate ids; one HUD identity line; perf label states `tokens visible N / total M`; HUD zoom readout; window marker left canvas-only (no trivial tooltip). - [x] No `/ws` dial on a fresh boot; #77 checklist posts v5 documenting expected 403s and GM-only wall lines. - [x] e2e: phone HUD inside 390x844, editor/walls reachable, sections collapse, `[id]` unique.
SirStone added the ready-for-agentenhancement labels 2026-11-21 23:38:54 +01:00
SirStone added a new dependency 2026-11-21 23:38:59 +01:00
Author
Owner

Fixed on main as e2295aa (results 7379d45).

  • GM column: 8,047 px -> 885 px default at 652 px visible (50 tokens), 89% shorter. Layout: Walls first, then GM table (roster open; selected-token editor; New token and Tokens (N) folded), then Who sees it, then folded Characters / Encountered. Native <details>; selection scrolls the token/wall editor into view; long lists capped with their own scroll.
  • Phone HUD: wraps instead of clipping, own name once (#me hidden when it equals the role), other players only in the roster, zoom 0.50 readout. Player lists fold on <640 px and are capped when opened; no trivial tooltip for the canvas window marker (left as the yellow square).
  • Duplicate ids gone (gm-token-name/gm-token-meta/roster spans are classes); perf label now tokens visible N / total M; no pre-auth /ws dial on a fresh boot.
  • #77 checklist v5 posted (comment 3083) with expected tile 403s, GM-only wall lines / secret-door-by-design, seed spacing (use X=845 Y=540: Seed 25 sits at ~968,554), perf label, and the expected first-run "LAN address is new" note.
  • Gates on the rebased tree: devbox run test, client-test (192), e2e (32/32) green. New client/e2e/ux.test.mjs covers the phone HUD, GM column and unique ids. Kernel watch: clean.
Fixed on main as `e2295aa` (results `7379d45`). - GM column: 8,047 px -> 885 px default at 652 px visible (50 tokens), 89% shorter. Layout: `Walls` first, then `GM table` (roster open; selected-token editor; `New token` and `Tokens (N)` folded), then `Who sees it`, then folded `Characters` / `Encountered`. Native `<details>`; selection scrolls the token/wall editor into view; long lists capped with their own scroll. - Phone HUD: wraps instead of clipping, own name once (`#me` hidden when it equals the role), other players only in the roster, `zoom 0.50` readout. Player lists fold on <640 px and are capped when opened; no trivial tooltip for the canvas window marker (left as the yellow square). - Duplicate ids gone (`gm-token-name`/`gm-token-meta`/roster spans are classes); perf label now `tokens visible N / total M`; no pre-auth `/ws` dial on a fresh boot. - `#77` checklist v5 posted (comment 3083) with expected tile 403s, GM-only wall lines / secret-door-by-design, seed spacing (use X=845 Y=540: Seed 25 sits at ~968,554), perf label, and the expected first-run "LAN address is new" note. - Gates on the rebased tree: `devbox run test`, `client-test` (192), `e2e` (32/32) green. New `client/e2e/ux.test.mjs` covers the phone HUD, GM column and unique ids. Kernel watch: clean.
Sign in to join this conversation.