Skip to content

Rebuild the VM console - #946

Merged
twikles merged 1 commit into
testfrom
feat/vm-console
Nov 15, 2026
Merged

twikles merged 1 commit into
testfrom
feat/vm-console

Conversation

@twikles

@twikles twikles commented Nov 15, 2026

Copy link
Copy Markdown
Member

docs/design/vm-console.md.

Before: nine equal buttons wrapping over two rows, the screen in a fixed 16:10 box (empty bands beside a 4:3 guest), state/errors/warnings spread around it, remote desktop in a separate window, no Start for a stopped VM, no sign of keyboard capture.

After: one toolbar row (modes as tabs, state with resolution, icon tools, More menu), stage sized to the room left, picture scaled and centred, states drawn on the stage (stopped + Start, connecting, lost + reason + Reconnect, SSH admin-only, RDP sign-in), keyboard capture shown, clipboard panel, display scale menu, screenshot, remote desktop inside. Console window and /rdp/ share the component.

Tried in headless Chromium against a running VM of the production node (read-only stand-in API relaying its real VNC console): 1920×1080, 1600×900, 1366×768, the window, each mode's state, keyboard typing into the VM, original size, screenshot download; no page error. npm lint/build, vitest 125.

One toolbar on one row (modes as tabs, the state with the guest's resolution, icon tools with tooltips, a More menu
for SPICE, the workstation panel, reconnect and disconnect), the stage sized to the room left below it and the
picture scaled to fit (no fixed 16:10 box), states drawn on the stage, the keyboard capture shown, a clipboard panel
(type into the VM, the guest's clipboard), display scale (fit, original size, ask the guest to follow the window),
screenshot, and the remote desktop as a mode of the console. The console window and /rdp/<vm> use the same component.
Design: docs/design/vm-console.md.
@twikles
twikles merged commit dc18bde into test Nov 15, 2026
3 checks passed
@twikles
twikles deleted the feat/vm-console branch November 15, 2026 13:32
@twikles twikles mentioned this pull request Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant