M4: client shell, sign-in and protocol client #67
Notifications
Due Date
No due date set.
Blocks
Depends on
#68 M4: name prompt, connection badge, reconnect and resync
SirStone/FFF_vtt_frozen
#66 M4: TLS + HTTP/2 test vhost, client dist, chromium
SirStone/FFF_vtt_frozen
Reference: SirStone/FFF_vtt_frozen#67
Reference in New Issue
Block a user
Part of #63
Goal
New client package builds; sign-in page when no session;
POST /join; WSproto=2;helloreset; pure reducer skeleton; DOM overlay shell.Acceptance criteria
helloresetvite builddist served by nginxdevbox 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
Proven at
client reducer, WS client, DOM shell; e2e
Notes
Done in
3c0258e.client/package (Vite + TS + PixiJS v8, plain DOM): pure reducer seam with no Pixi import, append-only slice registry via build-time glob,proto2 WS client (envelope/ack/closingmapping), sign-in viaPOST /join(same refusal for wrong/unknown key), DOM shell/HUD, Pixi stage only after a livehello.helloresets every slice;closing{proto-mismatch}shows reload and stops;closing{revoked}returns to sign-in and clears the view.client/e2e/, playwright-core owned there; still outsidetools/), served from the real Vite build through the TLS/HTTP2 nginx: join -> canvas -> hello/roster for GM and player, no data before join, identical wrong/unknown refusal, proto mismatch, revoked.devbox run client-test= Vitest seam (43 tests);devbox run e2ebuilds and runs the browser gate;devbox run testunchanged. The #66 stub dist is now local totools/vhost.test.mjs, so the server gate needs no npm install.client/README.md(file-disjoint slice + render module per ticket) with a pointer from DESIGN §7.1.Gates on the rebased tree (
97f618c):devbox run test154/154 + evidence,devbox run client-test43/43,devbox run e2e4/4.results/*reverted.