Make Command Center easier to navigate in the TUI workspace (#62990)

## Why

The docked Command Center has a fixed width, and mouse clicks can
focus the pane but cannot open a task. Moving between the task list
and the conversation should work with the workspace shortcuts.

## What changed

- Open or focus Command Center with `leader a` by default. Use the
  workspace pane shortcuts to move between Command Center and the
  conversation, with matching Agents bindings taking precedence in
  Command Center.
- Drag the divider to resize Command Center. Show each docked task's
  status and Git branch, when available, on a second line. Click either
  line to open the task, or click **Show more** to load older tasks.
- Animate the dock opening and closing.

## Testing

Extend the TUI tests to cover mouse activation and workspace keyboard
navigation, including preservation of the conversation draft and
reading position.

GitOrigin-RevId: e78aa4afb68e9971de51859221ce996b13750e13
This commit is contained in:
Felipe Coury
2026-11-21 15:29:34 +00:00
committed by copyberry
parent 1731314b3b
commit a0436d69ff
20 changed files with 534 additions and 121 deletions
+2 -2
View File
@@ -118,7 +118,7 @@ macro_rules! define_keymap_actions {
define_keymap_actions! {
global "Global" {
change_host [MultiBackend] => "Change where a new conversation runs.",
focus_main_composer [Workspace] => "Focus the main conversation composer.",
focus_main_composer [Workspace] => "Focus the main conversation composer. A matching Agents binding takes priority in Command Center.",
focus_sidebar_tabs [Workspace] => "Open the sidebar tab chooser.",
focus_sidebar_content [Workspace] => "Focus the side conversation, or hide it when already focused.",
hide_pane [Workspace] => "Hide the focused sidebar pane.",
@@ -134,7 +134,7 @@ define_keymap_actions! {
move_divider_left [Workspace] => "Move the divider left when the side pane has focus.",
move_divider_right [Workspace] => "Move the divider right when the side pane has focus.",
toggle_pane_zoom [Workspace] => "Zoom or restore the focused pane.",
open_agents => "Open the agent command center.",
open_agents => "Open and focus Command Center. A matching Agents binding takes priority there.",
open_transcript => "Open the transcript overlay.",
find_transcript => "Find text in the full transcript.",
// Keep the new warnings action out of shared-config writes until older strict readers