Public: anyone can read this; the crew can change it.
/system's btop panels draw §5's card, row and badge, and the .bt-* classes leave the markup #4186
Merged 46d 0h ago, live in production
/system's panels are now drawn with §5's card, row, meter and badge, and none of the eight .bt- classes appear in the page's HTML. bun x tsc --noEmit, test/design-lint.test.ts and the /system tests pass. I haven't looked at the page in a browser, so I haven't seen how the new markup renders without the old styling.
-
Reviews
ApprovedApproved. The panels now use row(), meter(), badge() and card() from ui.ts. Lists are real <ul class=list> with <li> rows, so a screen reader gets list semantics. The meter keeps its aria-label, and attn marks 85% and over. The process table is a plain .table with data-dense, which is already used on the spend and audit pages. Nothing here needs JavaScript or adds a dependency. Nothing in the diff touches auth or input. The new test would fail on the old markup, and the sort script and the data-io/data-net hooks are kept. I could not use the preview: /system answers 303 to sign-in for me, so this is a read of the source and the served markup path, not a look at the rendered page.
Two things I would do next:
- Delete the now-unmatched .bt-* rules at src/web/style/content.ts:343-361 in the part-two pull. They are dead CSS once this lands.
- Check the page at 360px. Give [data-group] rows a muted background so the process groups stay readable. Check that the 12-character core sparkline in row-meta wraps instead of overflowing the row.
-
Checks
shipped production is serving it deploy be10e7a
-
History
- /system's panels draw §5's card, row and badge; the .bt-* classes leave the markup (#4166) d015cdd
- Release 0.7.227: A client's first screen offers "Ask for something" on each app, opening the tell form for that app (#3371);The OpenAPI document describes starting a migration and reading its job (#3349);An issue's thread with 200 comments renders in under 15 ms (#3338);A migrated repository shows its trail: "migrat cddcb79
- A client's first screen offers "Ask for something" on each app, opening the tell form for that app (#3371) 8f2956f
- The OpenAPI document describes starting a migration and reading its job (#3349) 9ad48ad
- An issue's thread with 200 comments renders in under 15 ms (#3338) d4ac2e9
- A migrated repository shows its trail: "migrated from github.com/Trevato/SO-ARM100, a fork of TheRobotStudio/SO-ARM100", each a link up - hideable per repository (#3312) dac8451
- Release 0.7.226: The merge queue gates in parallel: bisect a red batch two halves at once, and speculatively gate the next batch on top of the current one (#4058);Design: the make-it-yours page's key and value list uses the design system, and kv leaves §5d (#3896);GET /metrics serves forge_http_request_duration_seco dc572ff
- The merge queue gates in parallel: bisect a red batch two halves at once, and speculatively gate the next batch on top of the current one (#4058) bc6bb89
- Design: the make-it-yours page's key and value list uses the design system, and kv leaves §5d (#3896) 44f94c4
- GET /metrics serves forge_http_request_duration_seconds to an admin or an admin's token, listed as not-a-page (#3883) 7b7a9d5
- The terminal lists, grants and revokes an app's private destinations, through the same actions as the page (#3882) f8d4648
- An agent run reuses its repository's bun install cache from the run before, instead of downloading every package again (#3738) 6869110
- Sentinel: queue:check was degraded 75 minutes today: 9 checks wait behind one lane; the oldest since 04:44; the lane runs #4032 for 2 min (limit 60). (#4062) 31ac3e3
- Design: the quiet disclosure becomes a §5 component used by its four pages, and quiet-details leaves §5d (#3933) 7c9233d
- On a client's first screen each app row says "Working on: …" or "Last change: …, 3 days ago" (#4056) b101086
- MCP `pulls`: list a repository's open pulls, briefly, with each one's check and review state (#4055) 70c9dc3
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:39d89j4f7b is past its budget: trevato/forge: "a pull whose review loop is spent is the planner's (#1655) > the planner is asked for it and its brief … (#4054) cc1a58e
- Design: the home KPIs are §5 stat tiles, and the kpi* classes leave §5d (#4048) 89d8dcc
- Checking an upstream fetches only the vetted address, sends a token only to its exact https origin, and runs one check at a time (#4046) eb96540
- forge_http_request_duration_seconds only grows, so rate() and histogram_quantile() read it correctly (#4034) 9633874
/system's panels are now drawn with §5's card, row, meter and badge, and none of the eight .bt-* classes appear in the page's HTML. bun x tsc --noEmit, test/design-lint.test.ts and the /system tests pass. I haven't looked at the page in a browser, so I haven't seen how the new markup renders without the old styling.
- Machine panel: each core, memory, swap and load line is a §5
row()inside<ul class="list">, which keeps the ids#coresand#mem. The name is the row title. The bar ismeter(), markedattnat 85% or more. The core's history sparkline sits beside the bar, and the figure is on the right. - Disks and network: one
card()of rows, withdata-ioanddata-netkept on the I/O and network rows. - Processes: the same
.tablewithdata-dense. The group header row is a plain<tr data-group>with the label in<strong>, and the "N procs" count is a secondarybadge(). - Unchanged: the process-sort script, the
?pauselink, the streamed regions,.sys-pairand the form fields. - Test: a new test in
test/system-btop.test.tsasserts every old class name is absent. It also asserts the rows, meters, card,data-io/data-net, table and "2 procs" text are present. This page has no forms, so there were none to check.
I left src/web/style/content.ts and docs/DESIGN.md alone, as asked. Until part two restyles the new markup, the rows, bars and group headers will look plainer than before. The old grid, mono font and bar rules no longer match anything.
The meter() helper takes a 0–100 share, so each bar's max and high attributes are gone in favour of a percentage. The aria-label on each bar is the same as before.
/system's panels are now drawn with §5's card, row, meter and badge, and none of the eight
.bt-*classes appear in the page's HTML.bun x tsc --noEmit,test/design-lint.test.tsand the/systemtests pass. I haven't looked at the page in a browser, so I haven't seen how the new markup renders without the old styling.row()inside<ul class="list">, which keeps the ids#coresand#mem. The name is the row title. The bar ismeter(), markedattnat 85% or more. The core's history sparkline sits beside the bar, and the figure is on the right.card()of rows, withdata-ioanddata-netkept on the I/O and network rows..tablewithdata-dense. The group header row is a plain<tr data-group>with the label in<strong>, and the "N procs" count is a secondarybadge().?pauselink, the streamed regions,.sys-pairand the form fields.test/system-btop.test.tsasserts every old class name is absent. It also asserts the rows, meters, card,data-io/data-net, table and "2 procs" text are present. This page has no forms, so there were none to check.I left
src/web/style/content.tsanddocs/DESIGN.mdalone, as asked. Until part two restyles the new markup, the rows, bars and group headers will look plainer than before. The old grid, mono font and bar rules no longer match anything.The
meter()helper takes a 0–100 share, so each bar'smaxandhighattributes are gone in favour of a percentage. Thearia-labelon each bar is the same as before.Closes #4166