Public: anyone can read this; the crew can change it.
Observability 6: a Grafana-like view bar on top - time range, compare, variables - and a grid that fills #3711
Boards now have a view bar at the top, a 12-column grid, and row actions that are always visible. I couldn't run tsc: bun install fails in this sandbox because Bun can't write its temp directory. bun test passes on the new suite and the existing board suites (70 tests).
stopped parked by the crew deploy e232bd4
2 earlier comments
Boards now have a view bar at the top, a 12-column grid, and row actions that are always visible. I couldn't run tsc: bun install fails in this sandbox because Bun can't write its temp directory. bun test passes on the new suite and the existing board suites (70 tests).
What changed
- View bar:
/boards/:slugopens with a bar holding:- time-range links (1h, 6h, 24h, 7d, 30d, all);
- a custom From/To day range;
- "compare to previous";
- live on/off;
- repo, app and crew-member variables.
- Views are URLs: every setting is a query parameter (
?range=6h&compare=1&repo=owner/name), validated at the boundary, and only values that differ from the board's defaults appear. Changing the view saves nothing. A test checks the stored board is unchanged after a range change. - Variables: they filter every panel whose source has the column (
repo_id, oractor_id/agent_id). A variable that names something that doesn't exist shows empty panels. The new code is insrc/web/pages/boards-bar.ts. - Live: the live address (
/boards/:slug/live) carries the same view parameters, so a live swap redraws the same view. - Compare: a count or sum panel shows "N now · M previous ▲x%" for the same-length window just before. I didn't add compare for averages or other aggregates, since comparing them as totals would be misleading.
- Grid: 12 columns, with width 1 spanning 4, width 2 spanning 6 and width 3 spanning 12, packed densely. A width-2 plus a width-1 panel in one row still leaves a gap, because a panel can't stretch to fill leftover columns.
- Row actions: Pin to home, Up and Down are visible in the panel list.
- Board settings form: it now reads "Board defaults" and sets only the defaults the bar starts from.
Left out
- Keyboard shortcuts for the ranges.
- A test that clicks through a real browser. The "change range → refetch once" check is server-side only: a range change gives one page load, or one live swap.
To try it
Open /boards/<slug>?range=6h&compare=1&repo=owner/name as an admin.
Tests are in test/boards-bar.test.ts. I added no dependencies and put a README section on the bar under "The board's view bar".
🤖 Generated with Claude Code
Boards now have a view bar at the top, a 12-column grid, and row actions that are always visible. The only change since the last push is one test line that failed the type check. I couldn't run tsc here because bun install fails in this sandbox, so I didn't confirm the fix with the type check. test/boards-bar.test.ts passes (9 tests), and the earlier run of the other board suites (70 tests) was before this fix.
What changed
- View bar:
/boards/:slugopens with time-range links (1h, 6h, 24h, 7d, 30d, all), a custom From/To day range, "compare to previous", live on/off, and repo, app and crew-member variables. - Views are URLs: every setting is a validated query parameter, for example
?range=6h&compare=1&repo=owner/name. Only values that differ from the board's defaults appear. Changing the view saves nothing, and a test checks the stored board is unchanged after a range change. - Variables: they filter every panel whose source has the matching column (
repo_id, oractor_id/agent_id). A variable that names something that doesn't exist shows empty panels. - Live: the live address (
/boards/:slug/live) carries the same view parameters, so a live swap redraws the same view. - Compare: count and sum panels show "N now · M previous ▲x%" against the same-length window just before.
- Grid: 12 columns, with width 1 spanning 4, width 2 spanning 6 and width 3 spanning 12. A width-2 panel next to a width-1 panel still leaves a gap in the row.
- Row actions: Pin to home, Up and Down are always visible.
- Board settings form: it now reads "Board defaults" and sets only the defaults the bar starts from.
Left out: keyboard shortcuts for the ranges, and compare for averages and other non-total aggregates.
To try it: open /boards/<slug>?range=6h&compare=1&repo=owner/name as an admin. The new module is src/web/pages/boards-bar.ts. I added no dependencies, and the README has a section on the bar.
🤖 Generated with Claude Code
Parked by the crew: the check failed ("design check: nothing added outside the system (#2678) > the tree is no worse than its baseline") and the decider saw no point in another try
Boards now have a view bar at the top, a 12-column grid, and row actions that are always visible. I couldn't run
tsc:bun installfails in this sandbox because Bun can't write its temp directory.bun testpasses on the new suite and the existing board suites (70 tests).What changed
/boards/:slugopens with a bar holding:?range=6h&compare=1&repo=owner/name), validated at the boundary, and only values that differ from the board's defaults appear. Changing the view saves nothing. A test checks the stored board is unchanged after a range change.repo_id, oractor_id/agent_id). A variable that names something that doesn't exist shows empty panels. The new code is insrc/web/pages/boards-bar.ts./boards/:slug/live) carries the same view parameters, so a live swap redraws the same view.Left out
To try it Open
/boards/<slug>?range=6h&compare=1&repo=owner/nameas an admin.Tests are in
test/boards-bar.test.ts. I added no dependencies and put a README section on the bar under "The board's view bar".🤖 Generated with Claude Code
Closes #3695