Repository navigation
[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 intoNov 30, 2026
Conversation
…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
Contributor
There was a problem hiding this comment.
🟢 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.enabledsetting, 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
Dmitriy Vasyura (dmitrivMS)
approved these changes
Nov 30, 2026
Federico Brancasi (federicobrancasi)
approved these changes
Nov 30, 2026
Megan Rogge (meganrogge)
deleted the
meganrogge/cherry-pick-351162-1.149
branch
November 30, 2026 19:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
pnpm run build-fast --client-onlypnpm run typecheck-clientpnpm run oxlinton changed TypeScript files.