aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-13 17:44:44 +0100
committerDanilo M. <danix@danix.xyz>2026-11-13 17:44:44 +0100
commitb148d9ad66bd5a1a927409fc9dce73a7f3afd8cd (patch)
treee232ef3317c48ad122641745f3c95f765aa85460 /AGENTS.md
parent573f63f72ae66e2765609138e393a96293566184 (diff)
downloaddeck-it-b148d9ad66bd5a1a927409fc9dce73a7f3afd8cd.tar.gz
deck-it-b148d9ad66bd5a1a927409fc9dce73a7f3afd8cd.zip
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 <dialog closedby="any">, 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 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md16
1 files changed, 10 insertions, 6 deletions
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/<module>`. 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 `<dialog closedby="any">` 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