Public: anyone can read this; the crew can change it.
The first-view budget also holds /explore, /changelog, /boards, /forges and /crew #10910
Check · Review · Land · Live done — Landed and live in production.
torque/forge:torque/10902-the-first-view-budget-also-holds-explore → main 1 commit fork
2 files
changed +61
−0
docs/design/attention-budget.json +60
| @@ -182,5 +182,65 @@ | ||
| 182 | 182 | "colours": 0 |
| 183 | 183 | }, |
| 184 | 184 | "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." |
| 185 | }, | |
| 186 | "explore": { | |
| 187 | "390": { | |
| 188 | "words": 44, | |
| 189 | "blocks": 9, | |
| 190 | "colours": 0 | |
| 191 | }, | |
| 192 | "1280": { | |
| 193 | "words": 44, | |
| 194 | "blocks": 9, | |
| 195 | "colours": 0 | |
| 196 | } | |
| 197 | }, | |
| 198 | "changelog": { | |
| 199 | "390": { | |
| 200 | "words": 16, | |
| 201 | "blocks": 5, | |
| 202 | "colours": 0 | |
| 203 | }, | |
| 204 | "1280": { | |
| 205 | "words": 16, | |
| 206 | "blocks": 5, | |
| 207 | "colours": 0 | |
| 208 | } | |
| 209 | }, | |
| 210 | "boards": { | |
| 211 | "390": { | |
| 212 | "words": 592, | |
| 213 | "blocks": 108, | |
| 214 | "colours": 3 | |
| 215 | }, | |
| 216 | "1280": { | |
| 217 | "words": 592, | |
| 218 | "blocks": 108, | |
| 219 | "colours": 3 | |
| 220 | } | |
| 221 | }, | |
| 222 | "forges": { | |
| 223 | "390": { | |
| 224 | "words": 25, | |
| 225 | "blocks": 5, | |
| 226 | "colours": 1 | |
| 227 | }, | |
| 228 | "1280": { | |
| 229 | "words": 25, | |
| 230 | "blocks": 5, | |
| 231 | "colours": 1 | |
| 232 | } | |
| 233 | }, | |
| 234 | "crew": { | |
| 235 | "390": { | |
| 236 | "words": 940, | |
| 237 | "blocks": 87, | |
| 238 | "colours": 4 | |
| 239 | }, | |
| 240 | "1280": { | |
| 241 | "words": 940, | |
| 242 | "blocks": 87, | |
| 243 | "colours": 4 | |
| 244 | } | |
| 185 | 245 | } |
| 186 | 246 | } |
test/attention.test.ts +1
| @@ -89,6 +89,7 @@ beforeAll(async () => { | ||
| 89 | 89 | issue: `${r}/issues/${issue.value.number}`, "issues list": `${r}/issues`, "pulls list": `${r}/pulls`, |
| 90 | 90 | runs: `${r}/runs`, run: `${r}/runs/${run.id}`, settings: "/settings", |
| 91 | 91 | search: "/search", "search results": "/search?q=forge", map: "/map", flow: "/flow", system: "/system", |
| 92 | explore: "/explore", changelog: "/changelog", boards: "/boards", forges: "/forges", crew: `${r}/settings/crew`, | |
| 92 | 93 | }; |
| 93 | 94 | for (const [name, path] of Object.entries(paths)) { |
| 94 | 95 | const res = await fetch(`${servers.url}${path}`, { headers: { cookie }, redirect: "follow" }); |