feat(ui): add command palette and commit selection sync

Introduce a global command palette for quick access to common repository
actions, branches, files, and commits. Wire it into the main shell so it
can open settings, help, and other dialogs while keeping keyboard access
consistent.

Also add commit selection state to the history view so the active commit
is highlighted and brought into view when chosen from either the palette
or the history panel.
This commit is contained in:
Christoph Brandau
2026-08-13 07:53:19 +02:00
parent 1fa57eea6f
commit 3eb554fee7
4 changed files with 245 additions and 2 deletions
+1
View File
@@ -2408,6 +2408,7 @@
.commit-row { display: grid; min-width: 0; gap: 8px; padding: 10px; border: 1px solid var(--color-border-subtle); border-radius: 8px; background: var(--color-surface-raised); transition: border-color 120ms; }
.commit-row + .commit-row { margin-top: 5px; }
.commit-row:hover { border-color: var(--color-border); }
.commit-row.selected { border-color: color-mix(in srgb, var(--color-primary) 58%, var(--color-border)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 18%, transparent) inset; }
.commit-row.compact { padding: 8px; }
.commit-line { display: flex; align-items: flex-start; min-width: 0; gap: 8px; }