Public: anyone can read this; the crew can change it.
The attention budget covers every top-level page, and a page without a row fails the test #13024
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/13013-the-attention-budget-covers-every-top-le → main 1 commit fork
2 files
changed +71
−10
docs/design/attention-budget.json +70 −10
| @@ -13,24 +13,24 @@ | ||
| 13 | 13 | }, |
| 14 | 14 | "repository": { |
| 15 | 15 | "390": { |
| 16 | "words": 116, | |
| 16 | "words": 114, | |
| 17 | 17 | "blocks": 18, |
| 18 | 18 | "colours": 2 |
| 19 | 19 | }, |
| 20 | 20 | "1280": { |
| 21 | "words": 116, | |
| 21 | "words": 114, | |
| 22 | 22 | "blocks": 18, |
| 23 | 23 | "colours": 2 |
| 24 | 24 | } |
| 25 | 25 | }, |
| 26 | 26 | "app": { |
| 27 | 27 | "390": { |
| 28 | "words": 116, | |
| 28 | "words": 114, | |
| 29 | 29 | "blocks": 18, |
| 30 | 30 | "colours": 2 |
| 31 | 31 | }, |
| 32 | 32 | "1280": { |
| 33 | "words": 116, | |
| 33 | "words": 114, | |
| 34 | 34 | "blocks": 18, |
| 35 | 35 | "colours": 2 |
| 36 | 36 | } |
| @@ -185,7 +185,6 @@ | ||
| 185 | 185 | "note": "Measured on the test forge's empty state with the machine reading replaced by an empty one and the two cell-cap sentences fixed (the live page's counts depend on the host's cores, disks, processes and cgroups); nothing seeded or waited for. Blocks 65 -> 67 (#11805): the off-site backup section's heading and one-sentence state stay on first view so a red lane is seen without a click; its rows sit behind the disclosure. Blocks 67 -> 69 (#12010): the database size section's heading and its one-sentence state (the file's size and growth, a badge when either is worth a look) stay on first view, as the off-site lane's do; its fact rows and the table of the ten largest tables and indexes sit behind the disclosure. Words +22, blocks +1 (#12092): the footprint section's heading and its one-sentence state (on an empty forge, not read yet and the memory budget) stay on first view; the measured facts and the optional parts sit behind the disclosure. Words +6, blocks +2 (#12420): the stale-pulls section's heading and \"None.\" on a forge with no quiet pull." |
| 186 | 186 | }, |
| 187 | 187 | "explore": { |
| 188 | "note": "Measured as an admin: the unfiltered count reads 'N apps, forges and people' (+3 words over 'N results'); a guest reads two fewer.", | |
| 189 | 188 | "390": { |
| 190 | 189 | "words": 42, |
| 191 | 190 | "blocks": 9, |
| @@ -195,7 +194,8 @@ | ||
| 195 | 194 | "words": 42, |
| 196 | 195 | "blocks": 9, |
| 197 | 196 | "colours": 0 |
| 198 | } | |
| 197 | }, | |
| 198 | "note": "Measured as an admin: the unfiltered count reads 'N apps, forges and people' (+3 words over 'N results'); a guest reads two fewer." | |
| 199 | 199 | }, |
| 200 | 200 | "changelog": { |
| 201 | 201 | "390": { |
| @@ -236,14 +236,74 @@ | ||
| 236 | 236 | }, |
| 237 | 237 | "crew": { |
| 238 | 238 | "390": { |
| 239 | "words": 742, | |
| 240 | "blocks": 89, | |
| 239 | "words": 712, | |
| 240 | "blocks": 88, | |
| 241 | 241 | "colours": 4 |
| 242 | 242 | }, |
| 243 | 243 | "1280": { |
| 244 | "words": 742, | |
| 245 | "blocks": 89, | |
| 244 | "words": 712, | |
| 245 | "blocks": 88, | |
| 246 | 246 | "colours": 4 |
| 247 | 247 | } |
| 248 | }, | |
| 249 | "apps": { | |
| 250 | "390": { | |
| 251 | "words": 49, | |
| 252 | "blocks": 6, | |
| 253 | "colours": 1 | |
| 254 | }, | |
| 255 | "1280": { | |
| 256 | "words": 49, | |
| 257 | "blocks": 6, | |
| 258 | "colours": 1 | |
| 259 | } | |
| 260 | }, | |
| 261 | "pricing": { | |
| 262 | "390": { | |
| 263 | "words": 136, | |
| 264 | "blocks": 9, | |
| 265 | "colours": 0 | |
| 266 | }, | |
| 267 | "1280": { | |
| 268 | "words": 136, | |
| 269 | "blocks": 9, | |
| 270 | "colours": 0 | |
| 271 | } | |
| 272 | }, | |
| 273 | "docs": { | |
| 274 | "390": { | |
| 275 | "words": 302, | |
| 276 | "blocks": 68, | |
| 277 | "colours": 0 | |
| 278 | }, | |
| 279 | "1280": { | |
| 280 | "words": 302, | |
| 281 | "blocks": 68, | |
| 282 | "colours": 0 | |
| 283 | } | |
| 284 | }, | |
| 285 | "security": { | |
| 286 | "390": { | |
| 287 | "words": 174, | |
| 288 | "blocks": 40, | |
| 289 | "colours": 1 | |
| 290 | }, | |
| 291 | "1280": { | |
| 292 | "words": 174, | |
| 293 | "blocks": 40, | |
| 294 | "colours": 1 | |
| 295 | } | |
| 296 | }, | |
| 297 | "people": { | |
| 298 | "390": { | |
| 299 | "words": 107, | |
| 300 | "blocks": 20, | |
| 301 | "colours": 1 | |
| 302 | }, | |
| 303 | "1280": { | |
| 304 | "words": 107, | |
| 305 | "blocks": 20, | |
| 306 | "colours": 1 | |
| 307 | } | |
| 248 | 308 | } |
| 249 | 309 | } |
test/attention.test.ts +1
| @@ -93,6 +93,7 @@ beforeAll(async () => { | ||
| 93 | 93 | runs: `${r}/runs`, run: `${r}/runs/${run.id}`, settings: "/settings", |
| 94 | 94 | search: "/search", "search results": "/search?q=forge", map: "/map", flow: "/flow", system: "/system", |
| 95 | 95 | explore: "/explore", changelog: "/changelog", boards: "/boards", forges: "/forges", crew: `${r}/settings/crew`, |
| 96 | apps: "/apps", pricing: "/pricing", docs: "/docs", security: "/settings/security", people: "/settings/people", | |
| 96 | 97 | }; |
| 97 | 98 | for (const [name, path] of Object.entries(paths)) { |
| 98 | 99 | const res = await fetch(`${servers.url}${path}`, { headers: { cookie }, redirect: "follow" }); |
new above
offline