You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend sidebar hints with pin/archive actions and connection targets (#143)
New sidebar hint targets: Extends the vim-style hint system to cover pinned worktrees, pinned connections, and connections — in addition to existing worktree/project/plus targets. Hints now appear on ConnectionItem, PinnedWorktreeItem, and PinnedConnectionItem.
Pin/archive action modes: While in pending hint mode (after pressing the first uppercase char), pressing P toggles pin mode (green badges) and D toggles archive mode (red badges). Completing a hint in pin mode toggles the item's pinned state; in archive mode it archives the worktree. Action mode resets on enter/exit of pending state.
Color-coded HintBadge: HintBadge now accepts an actionMode prop and renders matching badges in different colors — primary/blue for select, green for pin, red for archive.
Header action shortcuts: Added lowercase vim shortcuts for header toolbar buttons — r (Review), p (PR), m (Merge PR), a (Archive) — with highlighted mnemonic letters shown when vim mode is active.
Rebind Run panel shortcut: Moved the Run panel tab shortcut from r to u to free r for the Review action.
Escape exits pending hints: Pressing Escape during pending hint mode now properly clears the state and returns to idle, rather than falling through to other Escape handlers.
Ban p/d as hint second chars: Removed p and d from SECOND_CHARS to prevent conflicts with the pin/archive toggle keys during pending mode.
HelpOverlay updates: Renamed "Worktree Hints" section to "Sidebar Hints" (now includes pinned items and connections), added a new "Action Shortcuts" section documenting r/p/m/a, and updated the Run shortcut display from r to u.
Hint store additions: Added actionMode state and setActionMode action to useHintStore, with HintActionMode type exported for consumers.
dispatchHintAction expansion: Handles pin toggle (worktree & connection), archive (worktree only, with toast feedback), and select for all new target kinds (pinned-wt:, pinned-conn:, conn:).