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

The first-view budget also holds /explore, /changelog, /boards, /forges and /crew #10902

shipped production is serving it opened this has it
opened this

Intent: the pages the owner opens most after home stop growing unseen. Today test/attention.test.ts measures home, repository, app, pull, issue, the lists, runs, settings, search, map, flow and system, and nothing else.

Done when:

  • [x] test/attention.test.ts fetches /explore, /changelog, /boards, /forges and the repository's crew page as the signed-in admin, each answering 200
  • [x] docs/design/attention-budget.json holds a budget for each at 390 and 1280 px, set at today's measured words, blocks and colours (no page is redesigned in this pull)
  • [x] the test fails when one of them grows past its budget (prove it by raising a count locally)

Files: test/attention.test.ts, docs/design/attention-budget.json. Risk: a page that needs seeded data to render must get it from the test's own fixtures, not a shared one.

commented

Reviewed pull #10910 at its head: ticked test/attention.test.ts fetches /explore, /changelog, /boards, /forges and the repository's crew page as the signed-in admin, each answering 200; docs/design/attention-budget.json holds a budget for each at 390 and 1280 px, set at today's measured words, blocks and colours (no page is redesigned in this pull); the test fails when one of them grows past its budget (prove it by raising a count locally).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs