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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user