VB-1908: The build panel as a yard: every building a tile of an icon, a ring and a number
Status: ready
Priority: 2
Size: M
Design ref: design.md, Settlements and look (The yard and beyond, 27 Nov); Principles (Like is shown alike, and pictures before words); docs/mocks/building-yard.html; project doc “Building system: refinements and plan” (27 Nov)
Touches: page/ui2build (LADDER, ladderHTML, buildNeedFacts); src/ui2.css; page/kindicons (ACT_PATHS); docs/ui2/playtest.js
Goal: A player reads what stands on the farm, what is going up, what could be built and what is missing, without reading a sentence; every sentence is behind a tap (Kim, 27 Nov).
Acceptance criteria:
The panel’s first view, from Sim.farmView and nothing new in the sim: the house as its size (the rungs as steps) and its parts (slots: built, can be built, not yet), then one tile for each outbuilding: an icon, a ring (full: stands; dashed: being built), one number (what it keeps or houses, or the game days of work left) and a mark (plus: can be built; the icon of what is missing: cannot yet).
A tap on a tile opens its card: what it takes as chips (game days of work, timber, stone), what it gives as an icon and a number, its stages, and Build; its words only behind the card’s i.
No sentence shows before a tap (tests/smoke.js or a browser test asserts the panel’s first view holds no text node longer than three words outside labels).
Screenshots desk and phone, before and after, to /mnt/project-files/building-system/; a playtest of the panel (docs/ui2/playtest.js, two testers) is run and its report filed before the task is done, since the UI needs playtesting to get right (Kim, 27 Nov).
npm run verify and node tests/smoke.js pass their hard checks.