Commit Graph
9 Commits
Author SHA1 Message Date
ZacharyZhang-NY 1f3d38110e One component per file; GAME OVER offers CONTINUE
PRD G1 asks for one component per file. Eight files held two or
three; their eleven extra components move to files of their own,
helpers stay where both sides use them, and an archtest now fails
any file that holds two.

PRD 4.4 and the request say an error always offers CONTINUE.
ErrorState's button read RETRY; it now reads CONTINUE, under the
CONTINUE? countdown, on the crash screen and the lost page alike.
2026-10-12 16:50:17 -04:00
ZacharyZhang-NY ae11fbf00c Measure the budget end to end, and fail on any console error
The Playwright suite now checks PRD section 7 and the budget on the
local build and on each preview and live URL.

Frame times count the whole frame: Go reports its share after
copying the pixels, and the page adds the canvas blit and keeps
p50 and p95 over the last 240 frames. A test slows putImageData
and expects p95 to show it.

The budget test runs on a moving component page and logs what it
measures: first frame, p50, p95 and the wasm's brotli bytes, as
Cloudflare sent them or compressed locally. Today: first frame
about 60 ms, p95 about 10 ms, wasm under 5 MB, against 300 ms,
16 ms and 8 MB.

Every page now ends free of console and page errors, whether a
test used open() or not; the two tests that fail on purpose say so.
Clicks and typing reach components on their own pages.
2026-10-12 16:21:14 -04:00
ZacharyZhang-NY bd3877e1b1 Add feedback components 106-130; inert scope, focus return, two-step deploy 2026-10-11 20:58:30 -04:00
ZacharyZhang-NY bce416182e Deploy in two steps so no page misses its files mid-rollout 2026-10-11 20:17:19 -04:00
ZacharyZhang-NY 095eab2b4c Add input components 066-085; gallery chrome on real components; deploy warms the edge 2026-10-11 19:05:42 -04:00
ZacharyZhang-NY 9a7f593892 Add layout components 001-020 with demos and behavior tests 2026-10-11 18:02:26 -04:00
ZacharyZhang-NY 08e19833a2 Deploy waits until the live site serves the new build 2026-10-11 17:27:01 -04:00
ZacharyZhang-NY 3630bf2a27 Deploy to Cloudflare Workers: content-addressed assets, staged preview tests, rollback notes 2026-10-11 17:23:34 -04:00
ZacharyZhang-NY 83bc28c087 Add web host: wasm bridge, page shell, pixel GAME OVER, Playwright smoke tests 2026-10-11 17:15:37 -04:00