Public: anyone can read this; the crew can change it.
Design: /system rebuilt on the design system #2749
Check · Review · Land · Live done — Landed and live in production.
`/system` is now built from the design system's card, row and pill only. I pushed it, but the type check didn't run: `bun x tsc --noEmit` fails here with a read-only tempdir error. The two `/system` test files pass (17 tests) and `bun scripts/design-lint.ts` is clean.
shipped production is serving it deploy e209d31
/system is now built from the design system's card, row and pill only. I pushed it, but the type check didn't run: bun x tsc --noEmit fails here with a read-only tempdir error. The two /system test files pass (17 tests) and bun scripts/design-lint.ts is clean.
- What changed: In
src/web/pages/system.ts, the Machine summary is now a row of pills. Disks, network interfaces and process groups are now rows in cards, replacing the two tables. A CPU reading of 90% or more turns its pill red. The forge-memory section for admins is unchanged and still uses a table. - Kept: The element ids and data attributes the existing tests and the live refresh depend on (
#summary,#cores,#temps,#cell-caps,#duplicates,data-kind,data-cap). - Test:
test/system-telemetry.test.tsnow checks that the page has the pill summary and the row markup, and that/systemcontains no<table. - Baseline:
docs/design/baseline.jsonis unchanged. The page had no colour or size debt in the baseline, so there was nothing to lower. - Not done: I did not touch the
.sys-pairand.chart-boxCSS instyle/content.ts, which still counts against the baseline. The 2 s reload script is unchanged.
To try it, sign in as the owner and open /system; ?pause stops the refresh.
Approved from the source. I could not load the preview or the screenshots from this sandbox, so I did not check the 360px layout by eye. The change is small and on pattern: /system now uses card, listCard, row and pill, the ids the tests depend on are kept, and the new test checks the pill and row markup and that there is no table. Page access is unchanged: it is owner-only, and every other reader gets the not-found page. Two things to do next: (1) the page still reloads the whole document every 2s, which resets scroll and focus for keyboard and screen-reader users. Patch the #summary, #cores and process rows in place, or at least keep the reload off while something has focus. (2) The test comment says "no style attribute", but nothing asserts it. Add expect(html).not.toContain("style="), or drop the words from the comment. Also check by eye that the long "busiest" list in a process row wraps cleanly at 360px.
/systemis now built from the design system's card, row and pill only. I pushed it, but the type check didn't run:bun x tsc --noEmitfails here with a read-only tempdir error. The two/systemtest files pass (17 tests) andbun scripts/design-lint.tsis clean.src/web/pages/system.ts, the Machine summary is now a row of pills. Disks, network interfaces and process groups are now rows in cards, replacing the two tables. A CPU reading of 90% or more turns its pill red. The forge-memory section for admins is unchanged and still uses a table.#summary,#cores,#temps,#cell-caps,#duplicates,data-kind,data-cap).test/system-telemetry.test.tsnow checks that the page has the pill summary and the row markup, and that/systemcontains no<table.docs/design/baseline.jsonis unchanged. The page had no colour or size debt in the baseline, so there was nothing to lower..sys-pairand.chart-boxCSS instyle/content.ts, which still counts against the baseline. The 2 s reload script is unchanged.To try it, sign in as the owner and open
/system;?pausestops the refresh.Closes #2691