Skip to content

[release/1.149] sessions: hide the workspace and environment filters in Inbox by default (cherry-pick #351162) - #351266

Merged
Megan Rogge (meganrogge) merged 1 commit into
release/1.149from
meganrogge/cherry-pick-351162-1.149
Nov 30, 2026
Merged

Megan Rogge (meganrogge) merged 1 commit into
release/1.149from
meganrogge/cherry-pick-351162-1.149

Conversation

@meganrogge

Copy link
Copy Markdown
Collaborator

Cherry-picks #351162 to release/1.149.

Inbox workspace and environment filters are opt-in, with selections retained while hidden. Conflicts were resolved against the release branch’s existing scope controller; the shared filter-row visibility helper was included for accessibility help.

Validation

  • 897 tests passed across the affected sessions and accessibility suites.
  • pnpm run build-fast --client-only
  • pnpm run typecheck-client
  • Targeted pnpm run oxlint on changed TypeScript files.

…ult (#351162)

Add an opt-in Inbox workspace and environment filter, retaining picks while hidden and preserving existing scope behavior.

(cherry picked from commit b755f68)

Co-authored-by: Copilot <[email protected]>
Co-authored-by: meganrogge <[email protected]>
Copilot-Session: 549c36d0-f950-425c-b6e7-7a14535c8a6e

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues blocking approval.

No open issues 🎉

What changed in this PR

Cherry-picks #351162 into release/1.149, making Inbox workspace and environment filters opt-in while preserving saved selections and existing window scope behavior.

Changes:

  • Adds the experimental sessions.list.inboxWorkspacesFilter.enabled setting, disabled by default.
  • Centralizes when saved filter selections narrow the list, so hidden Inbox filters do not silently exclude sessions.
  • Updates accessibility help, documentation, and regression tests for filter visibility and retained selections.
File Description
src/​vs/​workbench/​contrib/​sessions/​test/​browser/​views/​sessionsWindowScopeController.test.ts Tests Inbox bar enablement across window types and mode changes.
src/​vs/​workbench/​contrib/​sessions/​common/​sessionConfig.ts Defines the Inbox filter setting constant.
src/​vs/​workbench/​contrib/​sessions/​browser/​views/​sessionsWindowScopeController.ts Computes Inbox bar enablement and exposes a shared filter-row visibility helper.
src/​vs/​workbench/​contrib/​sessions/​browser/​views/​sessionsView.ts Connects bar visibility and environment filtering to the new scope behavior.
src/​vs/​workbench/​contrib/​sessions/​browser/​views/​sessionsList.ts Centralizes scope-pick application for filtering, labels, placeholders, and reveal actions.
src/​vs/​workbench/​contrib/​sessions/​browser/​sessionsConfiguration.ts Registers the default-off experimental setting.
src/​vs/​workbench/​contrib/​sessions/​browser/​chatView/​chatViewSessionsListAccessibilityHelp.ts Makes Chat view picker guidance conditional on filter settings.
src/​vs/​sessions/​SESSIONS_LIST.md Documents opt-in Inbox filters and retained selections.
src/​vs/​sessions/​contrib/​sessions/​test/​browser/​sessionsViewMenu.test.ts Updates the menu test stub for the scope-pick predicate.
src/​vs/​sessions/​contrib/​sessions/​test/​browser/​sessionsList.test.ts Tests retained selections, filtering, reveal behavior, and workspace labels.
src/​vs/​sessions/​contrib/​sessions/​browser/​sessions.contribution.ts Registers the setting in the Agents window.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​sessionsChatAccessibilityHelp.test.ts Tests picker guidance across settings and phone layouts.
src/​vs/​sessions/​contrib/​chat/​browser/​sessionsChatAccessibilityHelp.ts Describes visible pickers or explains how to enable them.

Review effort: Balanced

@meganrogge
Megan Rogge (meganrogge) merged commit 4ba7070 into release/1.149 Nov 30, 2026
54 checks passed
@meganrogge
Megan Rogge (meganrogge) deleted the meganrogge/cherry-pick-351162-1.149 branch November 30, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants