M4: GM roster, player keys and token panel #74
Notifications
Due Date
No due date set.
Blocks
Depends on
#75 M4: GM characters, reveals and who-sees-it
SirStone/FFF_vtt_frozen
#68 M4: name prompt, connection badge, reconnect and resync
SirStone/FFF_vtt_frozen
Reference: SirStone/FFF_vtt_frozen#74
Reference in New Issue
Block a user
Part of #63
Goal
Roster with connected state, keys create/show/replace, remove player, token create/edit/resize/status/
gm_only/controller.Acceptance criteria
gm_onlyhides from playersdevbox run testgreen on a clean checkout, no test weakened or skipped, and the behaviour above proven at the seam(s) listed under "Proven at".User stories covered
gm_only, so that players do not receive it until I allow it.Proven at
GM panels DOM, reducer admin slice; e2e
Notes
Implemented on
m4/74, commit12c2e88(pushed tomain).src/panels/admin.ts) under#panels: roster with connected state, key create/show/replace/remove, token create/edit/resize/status/gm_only/controller. Server strings and keys usetextContent; secrets live only in the GM DOM and are cleared when the GM leaves the table.src/slices/admin.ts: GMtoken/token_gonerecords plus token selection; #71/#72 can read it withselectedTokenId(state)and change it only via{type:"admin-select", token}.client/test/admin.test.ts. Browser e2e:client/e2e/admin.test.mjsproves keys never reach player traffic/DOM/server log, remove frees the capped slot,gm_onlyhides and reveals, status/rename/controller reflect in player frames, and a resize push moves the token per the server.devbox run test157/157,devbox run client-test66/66,devbox run e2e9/9 green.