Add task group navigation to the agent command center (#62200)

## Why

Row and page navigation make users step through tasks to reach another group.

## What changed

Use `Shift+Down` or `Shift+J` to jump to the first task in the next
visible group, and `Shift+Up` or `Shift+K` to jump to the first task
in the previous group. Navigation stops at the ends of the list.

Expose `agents.next_group` and `agents.previous_group` in the keymap
picker and show the active shortcuts in Task shortcuts.

## Testing

Add coverage for jumps in both directions, list boundaries, and key
handling during search and rename. Update snapshots for shortcut help
and the keymap picker.

GitOrigin-RevId: 2542a75e7fdd7a3326c0914e19a9f5c191de082b
This commit is contained in:
Benjamin Carlsson
2026-11-18 05:49:12 +00:00
committed by copyberry
parent 89feadf3cc
commit e58677f0cb
22 changed files with 219 additions and 47 deletions
+2
View File
@@ -294,6 +294,8 @@ define_keymap_actions! {
cancel => "Cancel and close selection views.",
}
agents "Agents" {
next_group => "Select the first task in the next group.",
previous_group => "Select the first task in the previous group.",
resume => "Open the session resume picker.",
search => "Search the available agent tasks.",
new_task => "Open a new session in the selected checkout.",