Public: anyone can read this; the crew can change it.

The search, map, flow and system pages each carry a first-view attention budget that test/attention.test.ts holds #10687

shipped production is serving it opened this has it
opened this

DESIGN.md rule 5 says every page has a first-view budget at 390 and 1280 px; today docs/design/attention-budget.json measures ten pages and none of the owner's state pages.

Done when:

  • [x] /search (bare) and /search?q=forge have entries
  • [x] /map has an entry
  • [x] /flow has an entry
  • [x] /system has an entry
  • [x] Each entry is the page's measured words, blocks and colours today at both widths (no headroom added), test/attention.test.ts visits each path signed in as an admin, and growing any of them by one text block fails the test (prove it locally; say so in the pull).
  • [x] bun test test/attention.test.ts stays under its file budget.

Files: docs/design/attention-budget.json, test/attention.test.ts, docs/features/attention.md (the list of pages). Risk: /system and /flow are sampled pages; seed or wait for nothing, measure the empty state the test forge has and say so in the entry's note.

commented

Reviewed pull #10691 at its head: ticked /search (bare) and /search?q=forge have entries; /map has an entry; /flow has an entry; /system has an entry; Each entry is the page's measured words, blocks and colours today at both widths (no headroom added), test/attention.test.ts visits each path signed in as an admin, and growing any of them by one text block fails the test (prove it locally; say so in the pull).; bun test test/attention.test.ts stays under its file budget..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs