Skip to content

feat(agent-manager): reveal jump shortcut badges while modifier is held - #12631

Merged
marius-kilocode merged 1 commit into
mainfrom
implement-agent-manager-shortcut-selection
Jul 29, 2026
Merged

feat(agent-manager): reveal jump shortcut badges while modifier is held#12631
marius-kilocode merged 1 commit into
mainfrom
implement-agent-manager-shortcut-selection

Conversation

@marius-kilocode

Copy link
Copy Markdown
Collaborator

The Agent Manager sidebar already supports jumping to items with ⌘1-9 (Ctrl+1-9 on Windows/Linux), but the badges that map a number to a card only appear when hovering that one card, so there is no way to see all assignments at a glance before pressing a number.

With this change, holding the jump modifier reveals the shortcut badge on every sidebar card at once, and releasing hides them again. The reveal reuses the existing hover overlay but keeps the delete button suppressed while the modifier is held, so peeking at shortcuts can never expose a destructive action. Cards without a badge (position 10 and beyond) keep their git stats visible, and the rename and pending-delete states still hide the badges exactly as before.

The tracking listens for the modifier key itself (Meta on macOS, Control elsewhere, matching the registered keybindings) in capture phase so terminal key handlers cannot swallow it, and a blur listener resets the state when the keyup is lost, for example when Cmd+Tab-ing away.

@marius-kilocode
marius-kilocode enabled auto-merge (squash) July 29, 2026 08:22
@kilo-code-bot

kilo-code-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • .changeset/agent-manager-modifier-shortcut-peek.md
  • packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx
  • packages/kilo-vscode/webview-ui/agent-manager/agent-manager.css

Reviewed by claude-sonnet-5 · Input: 20 · Output: 5.9K · Cached: 429.7K

Review guidance: REVIEW.md from base branch main

@marius-kilocode
marius-kilocode merged commit 3321216 into main Jul 29, 2026
24 checks passed
@marius-kilocode
marius-kilocode deleted the implement-agent-manager-shortcut-selection branch July 29, 2026 08:31
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 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.

2 participants