Repository navigation
sessions: rename the Session Toolbar to the Session Activity Bar and move the layout toggles into it - #342039
Merged
Sandeep Somavarapu (sandy081) merged 6 commits intoOct 16, 2026
Conversation
Base automatically changed from
sandy081/agents/session-toolbar-even-spacing
to
main
October 16, 2026 11:38
…move the layout toggles into it - Rename the Session Toolbar to the Session Activity Bar across code, CSS, menus, the command, display names, and the setting (`sessions.showSessionToolbar` -> `sessions.showSessionActivityBar`, with a configuration migration). - While the activity bar is enabled in the desktop layout, Show/Hide Panel and Toggle Side Panel leave the title bar and show in the activity bar, after a separator below the tab entries. - Show the activity bar in every chat view, including the new-session view (and while a session is being prepared) and the new-chat view, with the same even content inset. Co-authored-by: Copilot <[email protected]>
… behind a setting - Order the activity bar as Toggle Side Panel, separator, tab entries, separator, Toggle Panel, using explicit `SessionActivityBarGroup` groups. - Add `sessions.sessionActivityBar.showLayoutActions` (on by default outside Stable); the toggles leave the title bar only while both it and the activity bar are on. - Add a Show Layout Actions toggle to the activity bar's context menu and a command palette command. Co-authored-by: Copilot <[email protected]>
Sandeep Somavarapu (sandy081)
force-pushed
the
sandy081/agents/session-activity-bar
branch
from
October 16, 2026 11:43
e5be996 to
7673344
Compare
Sandeep Somavarapu (sandy081)
marked this pull request as ready for review
October 16, 2026 11:45
Sandeep Somavarapu (sandy081)
enabled auto-merge (squash)
October 16, 2026 11:45
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: Benjamin Christopher Simmonds (@benibenj)Matched files:
Ulugbek Abdullaev (@ulugbekna)Matched files:
|
Contributor
Screenshot ChangesBase: Added (16)Removed (15) |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Layout controls can become hidden or clipped, and the new-chat composer can overlap the activity bar.
2 open findings
What changed in this PR
Renames the Agents window’s Session Toolbar to Session Activity Bar and moves layout controls into it, building on the earlier symmetric-spacing changes.
Changes:
- Renames settings, commands, menus, and components, with migration of the existing setting.
- Adds grouped layout actions and shows the activity bar in new-session and new-chat views.
- Updates spacing, accessibility help, documentation, tests, and fixtures.
| File | Description |
|---|---|
| src/vs/sessions/test/browser/sessionView.test.ts | Tests activity-bar visibility and insets. |
| src/vs/sessions/test/browser/sessionActivityBar.test.ts | Tests grouping, separators, and geometry. |
| src/vs/sessions/test/browser/layoutActions.test.ts | Tests renamed commands and layout menus. |
| src/vs/sessions/test/browser/chatGroupsView.test.ts | Tests activity bars across chat groups. |
| src/vs/sessions/test/browser/addTabFixtureUtils.ts | Adds grouped layout-action fixtures. |
| src/vs/sessions/DESKTOP.md | Documents activity-bar behavior. |
| src/vs/sessions/contrib/layout/test/browser/sessions.layout.contribution.test.ts | Tests setting migration. |
| src/vs/sessions/contrib/layout/test/browser/baseSessionLayoutController.test.ts | Tests side-panel action placement. |
| src/vs/sessions/contrib/layout/browser/sessions.layout.contribution.ts | Registers settings and migration. |
| src/vs/sessions/contrib/layout/browser/baseSessionLayoutController.ts | Relocates the side-panel toggle. |
| src/vs/sessions/contrib/editor/test/browser/editor.contribution.test.ts | Updates activity-bar menu assertions. |
| src/vs/sessions/contrib/editor/browser/addTabActions.ts | Groups tab actions in the activity bar. |
| src/vs/sessions/contrib/chat/test/browser/sessionActivityBar.fixture.ts | Updates visual fixtures and layout controls. |
| src/vs/sessions/contrib/chat/test/browser/chatView.test.ts | Tests symmetric content and timeline spacing. |
| src/vs/sessions/contrib/chat/browser/sessionsChatAccessibilityHelp.ts | Updates accessibility instructions. |
| src/vs/sessions/contrib/chat/browser/media/chatView.css | Applies symmetric content insets. |
| src/vs/sessions/contrib/chat/browser/chatView.ts | Adjusts widget widths for both insets. |
| src/vs/sessions/contrib/chat/browser/chat.contribution.ts | Adds background-menu toggles. |
| src/vs/sessions/contrib/canvases/test/electron-browser/sessionCanvasService.test.ts | Updates Canvas menu assertions. |
| src/vs/sessions/contrib/canvases/electron-browser/sessionCanvasActions.ts | Places Canvas in the tabs group. |
| src/vs/sessions/common/sessionConfig.ts | Defines renamed and legacy setting keys. |
| src/vs/sessions/common/contextkeys.ts | Shares layout-action placement conditions. |
| src/vs/sessions/browser/parts/sessionView.ts | Hosts the standalone activity bar. |
| src/vs/sessions/browser/parts/sessionActivityBar.ts | Renames the component and renders all groups. |
| src/vs/sessions/browser/parts/media/sessionsPart.css | Defines symmetric inset variables. |
| src/vs/sessions/browser/parts/media/sessionActivityBar.css | Styles the slimmer strip and separators. |
| src/vs/sessions/browser/parts/media/chatGroupsView.css | Simplifies split-group inset styling. |
| src/vs/sessions/browser/parts/chatView.ts | Publishes renamed content insets. |
| src/vs/sessions/browser/parts/chatGroupView.ts | Enables activity bars in new-chat views. |
| src/vs/sessions/browser/menus.ts | Defines activity-bar menus and groups. |
| src/vs/sessions/browser/layoutActions.ts | Registers toggles and relocates panel actions. |
| build/lib/stylelint/vscode-known-variables.json | Registers renamed CSS variables. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…nts window The menu separator color nearly matched the activity bar's background, and the Agents window's `!important` toolbar separator margin removed their spacing and centering. Use the toolbar separator color and keep the vertical margin. Co-authored-by: Copilot <[email protected]>
Ladislau Szomoru (lszomoru)
previously approved these changes
Oct 16, 2026
Co-authored-by: Copilot <[email protected]>
Henning Dieterichs (hediet)
previously approved these changes
Oct 16, 2026
- Keep the side panel and panel toggles in the title bar while the editor is maximized or the window uses the phone layout, since the activity bar is hidden then. - Give the new-chat-in-session composer the standard content padding while the activity bar is shown, so its input stays clear of the strip. Co-authored-by: Copilot <[email protected]>
Dmitriy Vasyura (dmitrivMS)
approved these changes
Oct 16, 2026
Sandeep Somavarapu (sandy081)
deleted the
sandy081/agents/session-activity-bar
branch
October 16, 2026 15:20
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.

Follow-up to #341996 (merged).
Changes
sessions.showSessionToolbar→sessions.showSessionActivityBar. A configuration migration carries an existing value over unless the new key is already set.workbench.action.agentSessions.toggleSessionActivityBar.sessionActivityBar.tsand.css, plus the test and fixture.sessionToolbarShowsSession.sessions.sessionActivityBar.showLayoutActions. It is off by default and has a Show Layout Actions toggle in the activity bar's right-click menu (also available as a command). While both settings are on in the desktop layout:SessionActivityBarGroup(1_sidePanel,2_tabs,3_panel), with a vertical-strip separator between groups.SessionActivityBarLayoutActionsContextexpression drives both the title-bar and the activity-barwhenclauses.DESKTOP.md, the accessibility help text and the setting description are updated.Validation
npx tsc --noEmit -p src/tsconfig.json --skipLibCheck: passed../scripts/test.sh --runGlob "vs/sessions/**/*.test.js": 7051 passing. 3 failures inOpen Agent Host State Fileare unrelated; they depend on the local home directory and this PR doesn't touch them.whenclauses in the title bar and the activity bar.npm run eslint -- <changed files>,npm run stylelint, hygiene andnpm run valid-layers-check: passed.sessions/sessionActivityBar/*render without errors and now frame the tabs with the layout toggles; a newWithoutLayoutActionsfixture shows the tabs alone.sessions/*CI screenshots render the same as on the base branch.