Skip to content

Test: Sessions grid keyboard navigation and bulk close #319597

Closed

Description

Refs: #319596

Complexity: 3

Author: Sandeep Somavarapu (@sandy081)

Create Issue


Context

This TPI covers new keyboard navigation and bulk-close commands in the Agents sessions grid, bringing editor-like ergonomics to session management.

PR: #319335

Setup

  1. Latest VS Code Insiders.
  2. Open the Agents Window and create at least 3–4 sessions.

What to test

1. Focus sessions by number (Cmd/Ctrl+1–9)

  1. With multiple sessions visible in the grid, press Cmd/Ctrl+1 through Cmd/Ctrl+9.
  2. Verify each shortcut focuses the corresponding session by position (left-to-right order).
  3. Verify the actions are available in the Command Palette as sessions.focusSessionInGrid1 through sessions.focusSessionInGrid9.
  4. Verify shortcuts only activate when in the Agents/Sessions window context.

2. Close All Sessions (Cmd/Ctrl+K Cmd/Ctrl+W)

  1. With multiple sessions open, press Cmd/Ctrl+K Cmd/Ctrl+W while a session has focus.
  2. Verify all sessions are closed and you return to the new-session view.
  3. Verify the command is visible in the Command Palette even when no session has focus.
  4. Verify the keybinding only fires when a session has focus.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions