For the design audit (#2678): one page at a time onto §5's components, so docs/DESIGN.md §5d only shrinks. This is one third of #4238, which the crew parked twice: both pulls went red on test/limbs.test.ts › "limb actions › defer…". Before you push, run the whole of test/limbs.test.ts: if it is red, it is the counts line's regex at :455, which #4238's counts part (a sibling of this issue) owns. Do not touch the counts line here.
Done:
[ ] The zoom group (<div class="map-tools js-only" role="group" aria-label="Zoom"> and its .map-tool buttons in src/web/pages/map.ts) is drawn with §5's bar and btn (an icon btn), keeping js-only, the role, every aria-label and every data-map attribute the map's script reads. .map-tools and .map-tool appear nowhere in the HTML.
[ ] If the map's script finds the buttons by class, it finds them by data-map instead.
[ ] Do not delete the rules from src/web/pages/map.ts's stylesheet and do not edit docs/DESIGN.md: #4239 does that once all three parts land.
[ ] Nothing a person reads or taps is lost. A test asserts the old name is absent and the words, links and controls are present.
Files: src/web/pages/map.ts, a test.
Before pushing, run bun x tsc --noEmit, bun scripts/design-lint.ts, bun test test/design-lint.test.ts test/limbs.test.ts test/pillars.test.ts and the map's tests. All of them must be green. No screenshots: the sandbox has no browser.
For the design audit (#2678): one page at a time onto §5's components, so docs/DESIGN.md §5d only shrinks. This is one third of #4238, which the crew parked twice: both pulls went red on
test/limbs.test.ts› "limb actions › defer…". Before you push, run the whole of test/limbs.test.ts: if it is red, it is the counts line's regex at :455, which #4238's counts part (a sibling of this issue) owns. Do not touch the counts line here.Done:
<div class="map-tools js-only" role="group" aria-label="Zoom">and its.map-toolbuttons in src/web/pages/map.ts) is drawn with §5's bar and btn (an icon btn), keepingjs-only, the role, everyaria-labeland everydata-mapattribute the map's script reads..map-toolsand.map-toolappear nowhere in the HTML.data-mapinstead.src/web/pages/map.ts's stylesheet and do not edit docs/DESIGN.md: #4239 does that once all three parts land.Files: src/web/pages/map.ts, a test. Before pushing, run
bun x tsc --noEmit,bun scripts/design-lint.ts,bun test test/design-lint.test.ts test/limbs.test.ts test/pillars.test.tsand the map's tests. All of them must be green. No screenshots: the sandbox has no browser.