Skip to content

Add workspace and environment scope pickers to Inbox #347488

Closed

Description

Problem

Inbox mixes sessions from multiple workspaces and execution environments. Users need a way to focus on one workspace or environment without adding workspace/environment subgroups inside the attention categories.

Requested feature

Add workspace and execution-environment pickers above the Inbox, using the same anchored dropdown presentation as New Session.

  • Each picker independently supports All or one selection.
  • Apply the combined scope to all Inbox session categories, including Pinned, Working, On hold, Cleared, and Archived.
  • Identify workspaces by their exact URI and execution environment, rather than grouping repositories or folders with the same name.
  • Remember selections across reloads, retain unavailable selections, and preserve the other grouping modes.
  • Keep an out-of-scope conversation open while hiding its sidebar row. Do not change the New Session composer's destination.
  • Keep Inbox categories flat, including On hold, and support keyboard navigation and accessible labels.

Automations scoping is not part of this request; the Automations catalog remains unscoped.

Implementation: #347484.

Activity

  1. added
    feature-request
    sessions-list
    on Nov 10, 2026
  2. added
    unreleased
    on Nov 10, 2026
  3. vs-code-engineering commented on Nov 10, 2026

    @vs-code-engineering
    Contributor

    Sharing media and context from merged PR #347484 for verification:

    Screenshot 2026-11-10 at 5 00 50 PM

    Summary

    • Add workspace and environment pickers above the Inbox, using New Session-style anchored dropdowns rather than Quick Pick. Each supports All or one selection.
    • Apply scope to every session category, including Pinned, Working, On hold, Cleared, and Archived. Workspace identity includes its exact URI and execution environment.
    • Remember scope across reloads, retain unavailable selections, preserve other grouping modes, and keep an out-of-scope active conversation open.
    • Remove workspace subgroups from On hold. Include keyboard/focus handling, accessibility help, regression tests, and themed fixtures.

    Follow-up to #347385.

    Scope boundary and deferred Automations work

    These pickers scope Inbox sessions only. They do not scope the Automations catalog or change any automation's workspace, execution environment, schedule, or enabled state.

    The Automations entry remains in its existing position below the controls, which can suggest that it is already scoped. Making Automations follow the selected workspace/environment is intentionally deferred and is not part of this PR.

    The pickers also do not change the New Session composer's destination or connect remote hosts. Choose All Workspaces and All Environments to clear scope; there is no separate Reset Scope button.

    How to test

    1. Switch the Sessions list to Inbox Mode. Open both anchored dropdowns with the mouse or Enter, Space, or Down Arrow; search workspaces and verify Escape returns focus.
    2. Select a workspace and environment. Verify every category, including Pinned, contains only matching sessions. Selecting an incompatible environment resets the workspace to All.
    3. Keep a conversation open while choosing a nonmatching scope: its row should disappear without closing the conversation. An empty scoped Inbox should explain that no activity matches.
    4. Reload and switch grouping modes to verify Inbox scope is remembered independently. Choose both All options to clear it; verify ordinary filters still work.
    5. Open Automations: its catalog should remain unscoped in this PR.

    Validation

    After rebasing onto latest main:

    • corepack pnpm run gulp compile-client — passed, zero compilation/type errors.

    • The following focused regression selection — 7 passed:

      ./scripts/test.sh --reporter dot \
        --run src/vs/sessions/contrib/sessions/test/browser/sessionsViewMenu.test.ts \
        --run src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts \
        --run src/vs/workbench/contrib/sessions/test/browser/views/sessionsListFilters.test.ts \
        --grep 'Inbox scope'
    • git diff --name-only -z origin/main...HEAD | xargs -0 corepack pnpm run precommit — passed for all applicable changed files.

    The full test suite and cross-platform UI checks were not run for this final revision.

    Screenshot Changes

    Base: 1df0ec93 Current: e545dfcf

    Added (7)

    sessions/sessionsInboxScope/All/Light

    current

    sessions/sessionsInboxScope/Selected/Light

    current

    sessions/sessionsInboxScope/Disconnected/Light

    current

    sessions/sessionsInboxScope/Unavailable/Light

    current

    sessions/sessionsInboxScope/Narrow/Light

    current

    sessions/sessionsInboxScope/WorkspaceDropdown/Light

    current

    sessions/sessionsInboxScope/EnvironmentDropdown/Light

    current

    Screenshot report: #347484 (comment)

    Source PR: #347484

  4. added
    insiders-released
    verification-needed
    and removed
    unreleased
    on Nov 11, 2026
  5. removed
    verification-needed
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasedon-testplansessions-list

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions