feat(maestro): keyboard navigation for the web sidebar

Ctrl+Shift+H moves the keyboard between the session list and the pane;
j/k walk the cards, Enter opens, Escape hands the pane back. The walk
skips expanded folder headers and stops on collapsed ones, matching the
TUI.
This commit is contained in:
Miguel Palhas
2026-08-31 15:04:02 +01:00
parent 0421a153c2
commit 1afe079ca0
9 changed files with 312 additions and 2 deletions
+12
View File
@@ -764,6 +764,18 @@ textarea {
box-shadow: inset 0 0 0 1px var(--accent-ring);
}
/* Where the keyboard walk (j/k) is standing. Distinct from `.is-active`: this
is a cursor, not a statement about what is mounted, so it reads as a ring
rather than a fill and the two can sit on the same row. */
.tree-leaf.is-highlighted,
.tree-folder-header.is-highlighted {
box-shadow: inset 0 0 0 2px var(--accent-ring);
}
.tree {
outline: none;
}
/* The session currently mounted in the content pane. */
.tree-leaf.is-active,
.tree-leaf.is-active[data-status="running"] {