Repository navigation
sessions: make the Session Activity Bar fill its column beside the side pane - #346492
Merged
Sandeep Somavarapu (sandy081) merged 13 commits intoNov 6, 2026
Merged
Sandeep Somavarapu (sandy081) merged 13 commits into
Sandeep Somavarapu (sandy081) merged 13 commits into
Conversation
…de pane Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the Session Activity Bar layout change.
No open issues 🎉
What changed in this PR
Completes the main-window Session Activity Bar column layout introduced in #346320 by making the strip fill its column rather than sizing to its entries.
Changes:
- Stretches the docked strip across the full column, extending its card styling and context-menu area.
- Adds a regression test for full-column bounds and right-click behavior near the bottom.
- Leaves chat-window and in-chat strips unchanged.
| File | Description |
|---|---|
src/vs/sessions/test/browser/sessionActivityBar.test.ts |
Tests full-column sizing and context-menu access near the strip’s bottom. |
src/vs/sessions/browser/parts/media/sessionActivityBar.css |
Applies inset: 0 to the docked strip in the main-window column. |
Review effort: Balanced
Sandeep Somavarapu (sandy081)
marked this pull request as draft
November 6, 2026 08:54
auto-merge was automatically disabled
November 6, 2026 08:54
Pull request was converted to draft
…column Co-authored-by: Copilot <[email protected]>
…ext menu anywhere on it Co-authored-by: Copilot <[email protected]>
…on-activity-bar-full-column # Conflicts: # src/vs/workbench/contrib/sessions/browser/parts/sessionActivityBar.ts # src/vs/workbench/contrib/sessions/browser/parts/sessionActivityBarHost.ts
Contributor
Screenshot ChangesBase: Changed (15) |
… corner Co-authored-by: Copilot <[email protected]>
…on-activity-bar-full-column
Sandeep Somavarapu (sandy081)
marked this pull request as ready for review
November 6, 2026 09:53
Sandeep Somavarapu (sandy081)
enabled auto-merge (squash)
November 6, 2026 09:53
Federico Brancasi (federicobrancasi)
previously approved these changes
Nov 6, 2026
…ivity bar Co-authored-by: Copilot <[email protected]>
Sandeep Somavarapu (sandy081)
marked this pull request as draft
November 6, 2026 10:04
auto-merge was automatically disabled
November 6, 2026 10:04
Pull request was converted to draft
…Bar on it MenuActivityBar renders the icon-only entries of a menu as a vertical activity bar, sized and colored like the Modern UI workbench activity bar at both layout densities, with activity badges and the context menu anywhere on the bar. The Session Activity Bar is its first consumer: full size in the Agents window's column, slim beside a chat. Co-authored-by: Copilot <[email protected]>
…highlight and colors Lay out its entries in a flex column so the gap between them applies, inset the hover and active highlight on every side, show the separator between groups, follow a theme's activity bar active background, and keep the bar's width fixed in the Agents window's column. Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
The Session Activity Bar's context menu gets a Size submenu (Default, Compact). Compact restores the original small strip (24px entries, 16px icons) at every layout density. The choice is stored per profile, not as a setting. The bar floating beside a chat is always compact. Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Compact is now the default, so the other size is called Normal. Co-authored-by: Copilot <[email protected]>
Sandeep Somavarapu (sandy081)
marked this pull request as ready for review
November 6, 2026 11:27
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: Ladislau Szomoru (@lszomoru)Matched files:
|
Christof Marti (chrmarti)
approved these changes
Nov 6, 2026
Sandeep Somavarapu (sandy081)
deleted the
sandy081/agents/session-activity-bar-full-column
branch
November 6, 2026 11:46
This was referenced Nov 6, 2026
Merged
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 #346320. In the main window, the Session Activity Bar now looks and behaves like a real activity bar beside the side pane.
What changed
MenuActivityBarinsrc/vs/workbench/browser/parts/activitybar/renders the icon-only entries of a menu as a vertical activity bar. It is sized and colored like the Modern UI workbench activity bar at both layout densities: 36px entries with 24px icons, an 8px lane and gap at the default density and 4px at the compact one, and the modern activity bar hover and active colors (outlines in high contrast). It supports activity badges and the context menu anywhere on the bar. The Session Activity Bar is its first consumer: full size in the Agents window's column, slim beside a chat. The workbench activity bar can adopt it later.Chat windows and strips docked inside a chat are unchanged.
Validation
pnpm run typecheck-client: passed./scripts/test.sh --runGlob "vs/sessions/**/*.test.js": passed (7,940 passing). New and updated tests cover the Size choice and the strip filling the column after the gap, the column's width, the context menu on an entry and elsewhere on the strip, and the macOS corner rules../scripts/test.sh --run src/vs/workbench/test/browser/parts/activitybar/menuActivityBar.test.ts --run src/vs/workbench/test/browser/parts/activitybar/activitybarPart.test.ts: passed. The new test checks the component's sizes at both densities and in the Compact size.pnpm run valid-layers-check: passed.pnpm run eslintandpnpm run stylelinton the changed files, and hygiene via the commit hook: passed.Two Agent Host picker tests in
agentHostSessionConfigPicker.test.tsfail in CI on this PR. They fail the same way on a cleanmainand this PR doesn't touch them.