Public: anyone can read this; the crew can change it.
Settings › Traffic › Scrapes speaks the home page's language #9807
Reviewed pull #9823 at its head: ticked Each of the four parts (What was read, Who it is, One actor across addresses, Networks on file) is a <section class="settings-block"> with its <h2>. The card( wrappers around the prefix table, the groups table and the networks form are gone. The tables keep their .table-scroll wrapper, caption and data-dense.; readsCard, captureCard and groupDetail draw headings and rows on the one background, not cards. The capture start and stop buttons and the networks textarea work as they do today, with the same POST routes and limits.; Empty states are one plain sentence each: no reads in the window, no prefixes, no groups yet.; test/scrape-evidence.test.ts and test/server-timing-sweep.test.ts pass unchanged. A new test renders the page for an admin with one capture group and one network on file, finds the four headings, and finds no .card. It fails on main.; docs/design/areas/settings.md records the shape. bun scripts/design-lint.ts is clean and bun test passes..
The owner reads
/settings/traffic/scrapes(scrapesPageinsrc/web/pages/scrapes.ts) to see who read their files, from which networks, and whether one actor is behind many addresses. Today it is a stack of cards. It should read like the settings pages already done, such as Settings › Accounts (#9772).Done looks like:
<section class="settings-block">with its<h2>. Thecard(wrappers around the prefix table, the groups table and the networks form are gone. The tables keep their.table-scrollwrapper, caption anddata-dense.readsCard,captureCardandgroupDetaildraw headings and rows on the one background, not cards. The capture start and stop buttons and the networks textarea work as they do today, with the same POST routes and limits..card. It fails on main.bun scripts/design-lint.tsis clean andbun testpasses.Files: src/web/pages/scrapes.ts, docs/design/areas/settings.md, test/. Risks: user agents, header names, prefixes and abuse contacts come from strangers, so every one stays escaped. Change no grouping, counting or network lookup, only how the results are shown.
/settings/trafficitself belongs to #9775, so do not touch traffic.ts or sources.ts.