GM UI gaps: token↔character link, property editor, scene settings, player rename #81

Open
opened 2026-11-21 15:09:46 +01:00 by SirStone · 0 comments
Owner

Goal

Close the known GM-UI gaps that the wire already supports and the browser has no control for. From README "Not in this build yet":

  • token ↔ character link (token.create/token.update character_id);
  • property editor (prop.set / prop.unset, public/owner/gm buckets);
  • scene settings (scene.set: name, grid_size, vision_radius_default, token_radius_default);
  • player rename (player.rename).

All four intents exist and are tested server-side (DESIGN §6.1, §3.2, §8; ADR-0020 for characters vs tokens); no M4 user story covers them and no panel exposes them. None of them blocks the playtest (#77).

Acceptance criteria

  • A triage decision is recorded on this issue: which of the four ship in v1, in which milestone, and what stays post-v1 (each is one small panel slice or one deferral).
  • For each item kept: the intent is driven from the GM panel and the resulting frames are reflected (round-trip), with no raw wire required.
  • Token ↔ character link: linking drops the token's own names (server rule, §6.1) and the panel shows the character's names afterwards; unlinking requires both names.
  • Property editor: the three buckets are visibly separated so the GM cannot write a gm value believing it is public; values are validated against the 8 KB / 64-key limits before sending.
  • Scene settings: grid_size is settable and the grid toggle stops being inert (see Notes).
  • Standing gate: devbox run test, devbox run client-test, devbox run e2e green on a clean checkout, no test weakened or skipped.

Proven at

GM panels DOM + reducer admin slice; client e2e for whichever items land.

Notes

  • Size: M (about one agent session for all four, smaller if split). Lane: G (panels).
  • Grid bug: the scene row is seeded with grid_size 0 (server migration, 4096 px default scene) and 0 = no grid (§8), so the M4 grid toggle does nothing on a fresh install. Setting grid_size has no UI, so today this reads as a broken feature, not a missing one. Decide whether it is part of the scene-settings work or its own bug ticket.
  • Not part of #63: #63's M4 spec does not include these, and this must not be read as a scope change to it. If triage pulls any in, link it back to #63 explicitly.
  • scene.set cannot change w, h, tile_size, cell, art_version (import is the CLI); do not add those fields to the panel.
## Goal Close the known GM-UI gaps that the wire already supports and the browser has no control for. From README "Not in this build yet": - token ↔ character link (`token.create`/`token.update` `character_id`); - property editor (`prop.set` / `prop.unset`, `public`/`owner`/`gm` buckets); - scene settings (`scene.set`: name, `grid_size`, `vision_radius_default`, `token_radius_default`); - player rename (`player.rename`). All four intents exist and are tested server-side (DESIGN §6.1, §3.2, §8; ADR-0020 for characters vs tokens); no M4 user story covers them and no panel exposes them. None of them blocks the playtest (#77). ## Acceptance criteria - [ ] A triage decision is recorded on this issue: which of the four ship in v1, in which milestone, and what stays post-v1 (each is one small panel slice or one deferral). - [ ] For each item kept: the intent is driven from the GM panel and the resulting frames are reflected (round-trip), with no raw wire required. - [ ] Token ↔ character link: linking drops the token's own names (server rule, §6.1) and the panel shows the character's names afterwards; unlinking requires both names. - [ ] Property editor: the three buckets are visibly separated so the GM cannot write a `gm` value believing it is public; values are validated against the 8 KB / 64-key limits before sending. - [ ] Scene settings: `grid_size` is settable and the grid toggle stops being inert (see Notes). - [ ] Standing gate: `devbox run test`, `devbox run client-test`, `devbox run e2e` green on a clean checkout, no test weakened or skipped. ## Proven at GM panels DOM + reducer admin slice; client e2e for whichever items land. ## Notes - Size: M (about one agent session for all four, smaller if split). Lane: G (panels). - **Grid bug**: the scene row is seeded with `grid_size 0` (server migration, 4096 px default scene) and `0 = no grid` (§8), so the M4 grid toggle does nothing on a fresh install. Setting `grid_size` has no UI, so today this reads as a broken feature, not a missing one. Decide whether it is part of the scene-settings work or its own bug ticket. - Not part of #63: #63's M4 spec does not include these, and this must not be read as a scope change to it. If triage pulls any in, link it back to #63 explicitly. - `scene.set` cannot change `w, h, tile_size, cell, art_version` (import is the CLI); do not add those fields to the panel.
SirStone added the needs-triageenhancement labels 2026-11-21 15:09:46 +01:00
Sign in to join this conversation.