From b148d9ad66bd5a1a927409fc9dce73a7f3afd8cd Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 13 Nov 2026 17:44:44 +0100 Subject: feat(dashboard): running modules as chips that open a panel The running row of 118px cards took height from music and spending and cut its lines into marquees. It is now a row of chips (icon, value, progress fill) copied from each module's slot; a tap opens the full slot in a centred , which a tap outside closes without reaching what is under it, and a tap inside opens the tab. A module may export detail(state, el) for the panel. The build VM's shows the job command, start and elapsed time, CPU, memory and disk as meters, and the plan package by package: its result once finished (progress.results, sbb-remote 0.13.1), building, or waiting. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index 2119910..1ad334d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -23,11 +23,15 @@ Keep the server dependency-free apart from that one package. mounts those panels and polls `/api/`. The Dashboard tab is `static/dashboard.js`: one fixed screen with no drag, resize or fold. A top band of chips (stats, Claude usage from `llm`, tablet battery and Wi-Fi), - music and spending (`llm`) always on, a running row of one to three busy - modules, and the action icons. A panel that can be running exports - `busy(state)` and `slot(state, el)` (`k1c.js`, `sbbuilder.js`, `obs.js`); a - slot builds its markup once and then only sets text, so its scrolling lines - are not restarted. Hyprland's border colours (`--udt-border-1..3`) colour + music and spending (`llm`) always on, a running row of chips for one to + three busy modules, and the action icons. A panel that can be running + exports `busy(state)` and `slot(state, el)` (`k1c.js`, `sbbuilder.js`, + `obs.js`); a slot builds its markup once and then only sets text, so its + scrolling lines are not restarted. The slot, and an optional + `detail(state, el)` under it (`sbbuilder.js`: the job, the VM, the plan + package by package), is drawn into a centred `` a + tap on its chip opens (a tap outside closes it, a tap inside opens the + tab); the chip copies the slot's `.sic`, `.pct` and `.bar`. Hyprland's border colours (`--udt-border-1..3`) colour the trend lines and progress bars and rotate around the action icons. - `stats` also carries `updates`, keystone's "to install" count from `updatesctl` (`[dashboard] updates`, empty hides it), re-read in a thread @@ -66,7 +70,7 @@ Keep the server dependency-free apart from that one package. is off it backs off 10s between tries. The camera snapshot and the slicer thumbnail are loaded by the tablet straight from the printer. - `sbbuilder` has no tab, only a running slot. It reads `sbb-remote jobs - --active` (sb-builder 0.13.0+); a running build's `progress` (done of + --active` (sb-builder 0.13.1+); a running build's `progress` (done of total with dependencies, the package building, its ETA, the estimated end, failures) replaces the busy bar. - `tablet` reads the tablet's battery (`dumpsys battery`) and Wi-Fi (`cmd wifi -- cgit v1.2.3