Repository navigation
sessions: dock the Session Activity Bar in a fixed column beside the side pane - #346320
Merged
Sandeep Somavarapu (sandy081) merged 2 commits intoNov 5, 2026
Conversation
…side pane The active chat's Session Activity Bar now shows in a fixed-width column at the right of the main window's content row, to the right of the side pane, or of the chat while the side pane is closed, instead of floating in a column inside each chat. Its top is level with the cards beside it and it is framed like them. The drag grip is removed: the bar's position is fixed. The external-host API moves to sessionActivityBarHost.ts so the workbench can add the column without an import cycle. The column shows only while the active strip is in it, applied on the next frame so switching chats does not move the parts beside it, and not while a view is maximized. Co-authored-by: Copilot <[email protected]>
Contributor
Screenshot ChangesBase: Changed (15)Removed (2) |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Opening a custom view while a chat is active leaves the hidden chat’s activity bar visible and its 34px column reserved; the host must be deactivated during custom views, with regression coverage for opening and closing them.
1 open issue
What changed in this PR
Moves the active chat’s Session Activity Bar into a fixed column at the right edge of the Agents window, freeing space inside chats while preserving chat-window hosting.
Changes:
- Adds a shared host module and grid column with deferred visibility updates.
- Removes dragging and aligns the strip’s position and styling with adjacent cards.
- Updates callers, tests, fixtures, and layout documentation.
| File | Description |
|---|---|
src/vs/sessions/test/browser/workbench.test.ts |
Tests column placement and deferred visibility. |
src/vs/sessions/test/browser/sessionActivityBar.test.ts |
Tests fixed positioning and external hosting without a grip. |
src/vs/sessions/test/browser/chatGroupsView.test.ts |
Updates the column-width import. |
src/vs/sessions/LAYOUT.md |
Documents the new grid column. |
src/vs/sessions/DESKTOP.md |
Describes fixed docking and chat-window behavior. |
src/vs/sessions/contrib/chatWindow/test/browser/sessionsChatWindowProvider.test.ts |
Updates the shared host import. |
src/vs/sessions/contrib/chatWindow/browser/sessionsChatWindowProvider.ts |
Adapts chat-window hosting to the simplified API. |
src/vs/sessions/contrib/chat/test/browser/sessionActivityBar.fixture.ts |
Removes drag fixtures and updates layout calls. |
src/vs/sessions/browser/workbench.ts |
Registers the column and manages grid visibility. |
src/vs/sessions/browser/parts/sessionView.ts |
Updates standalone strip layout calls. |
src/vs/sessions/browser/parts/sessionActivityBarHost.ts |
Extracts hosting utilities and defines the grid column. |
src/vs/sessions/browser/parts/sessionActivityBar.ts |
Removes dragging and uses fixed positioning. |
src/vs/sessions/browser/parts/media/sessionActivityBar.css |
Adds column styling and removes grip styles. |
src/vs/sessions/browser/parts/chatGroupView.ts |
Updates chat-group strip layout calls. |
Review effort: Balanced
… is open Co-authored-by: Copilot <[email protected]>
Alexandru Dima (alexdima)
approved these changes
Nov 5, 2026
Sandeep Somavarapu (sandy081)
deleted the
sandy081/agents/session-activity-bar-sidepanel-fixed
branch
November 5, 2026 19:30
This was referenced Nov 6, 2026
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.

The Session Activity Bar of the active chat now docks in a fixed-width column at the right edge of the Agents window's content row, instead of floating in a column inside each chat.
What changed
How it works
sessionActivityBarHost.tsnow holds the external-host API (registerSessionActivityBarExternalHost,SESSION_ACTIVITY_BAR_COLUMN_WIDTH) and the newSessionActivityBarColumngrid view. Moving them out ofsessionActivityBar.tsletsworkbench.tsimport them without a cycle.For reviewers
MovedandAtBottomcomponent fixtures are removed and the remaining Session Activity Bar fixtures lose the grip, so the screenshot baselines will need updating.DESKTOP.mdandLAYOUT.mdare updated for the new column.Validation
pnpm run typecheck-client: passedpnpm run precommit(hygiene): passed./scripts/test.sh --runGlob "vs/sessions/**/*.test.js": passed (10,433 passing, 27 pending)pnpm run eslint(changed files),pnpm run stylelint(changed CSS) andpnpm run valid-layers-check: passedTo test: open the Agents window, select a chat and confirm the activity bar shows at the far right, level with the side pane's top. Close the side pane and confirm the bar stays at the right of the chat.