dashboard: the build pages are tabs of the dashboard
The build lifecycle used to be its own page with three sub-tabs. They are now dashboard tabs (rebuild, meta, buildlogs) beside SW4RM and P3RM1SS10NS: builds.js is a module tabs.js imports, so the dashboard's one tab strip, /api/state snapshot and event stream (plus the meta_inputs_changed and meta_update_running kinds) serve them, and the page, its bundle entry, stylesheet and home tile are gone. The SW4RM banner's "view queue" link points at the #rebuild tab, and the rebuild tab carries a count pill of the rebuilds in flight. An empty tab-count pill drew a "0": its display beat the UA [hidden] rule.
This commit is contained in:
parent
b5053d9a80
commit
ee5c057d8f
22 changed files with 386 additions and 456 deletions
|
|
@ -30,7 +30,7 @@ layers per-agent additions on top of the default agent dist.
|
|||
output is reproducible without network access at build time.
|
||||
- **esbuild**: `agent` and `swarm-ui` are Preact apps; `dashboard` is a
|
||||
vanilla-JS + custom-element MPA with a few Preact-rendered pages
|
||||
(`builds.js`, `swarm.js`); `shared` holds both kinds of module. No
|
||||
(`builds.js`, `swarm.js`, imported by the dashboard entry); `shared` holds both kinds of module. No
|
||||
framework runtime beyond Preact where it's used. Each workspace's
|
||||
`build.mjs` is a short esbuild script.
|
||||
- **Single-PR migration**: see the tracked design proposal and
|
||||
|
|
|
|||
Loading…
Reference in a new issue