aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/specs
diff options
context:
space:
mode:
Diffstat (limited to 'docs/superpowers/specs')
-rw-r--r--docs/superpowers/specs/2026-11-13-vm-tab-design.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/superpowers/specs/2026-11-13-vm-tab-design.md b/docs/superpowers/specs/2026-11-13-vm-tab-design.md
index b327f7a..4a90f05 100644
--- a/docs/superpowers/specs/2026-11-13-vm-tab-design.md
+++ b/docs/superpowers/specs/2026-11-13-vm-tab-design.md
@@ -48,3 +48,18 @@ Docker, a dashboard chip. Add when wanted.
`tests/test_vm.py`: domstats parsing, CPU delta, action validation, the ssh
command choice. `node --check static/modules/vm.js`.
+
+## Tablet UI (second pass)
+
+The first panel copied the drawer row for row. The tab now is a grid of
+tiles: the VM's screen (`virsh screenshot`, JPEG via ffmpeg, every 5s while
+the tab shows), name and status ("booting…" until sshd answers at the
+`ssh -G` host and port, then "ssh ready · IP"), CPU and RAM trends drawn
+with the dashboard's `line`/`area`, and a bar with a big power button (tap:
+start, shut down or resume; hold: force stop), SSH and a "more" button. A
+tap on the tile opens a sheet (`<dialog closedby="any">`) with every action
+as an icon, and the snapshots as a timeline of chips with their age, the
+current one marked; a tapped chip shows its revert and delete. RAM used is
+`balloon.available - balloon.usable` when the balloon reports it.
+`static/hold.js` is now the one press and hold, used by K1C too, and
+vibrates the tablet when it fires.