Repository navigation
sessions: improve comparison UI rendering - #341610
Merged
Megan Rogge (meganrogge) merged 8 commits intoOct 14, 2026
Merged
Megan Rogge (meganrogge) merged 8 commits into
Megan Rogge (meganrogge) merged 8 commits into
Conversation
Dmitriy Vasyura (dmitrivMS)
previously approved these changes
Oct 14, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Label sizing and nested-workspace metadata, ordering, and drag/drop behavior still introduce user-visible regressions.
4 open findings
What changed in this PR
Improves comparison rendering in the Agents session list and model picker, addressing hierarchy, header layout, and action discoverability.
Changes:
- Nests comparisons beneath workspaces and keeps those workspaces visible when capped.
- Adjusts comparison headers and moves Compare Models beside Search.
- Adds hierarchy, layout, label, and toggle regression assertions.
| File | Description |
|---|---|
src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts |
Checks action placement, labels, and toggle state. |
src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabbedWidget.ts |
Moves Compare Models and enables label reveal. |
src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts |
Checks comparison hierarchy and header styling. |
src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts |
Nests comparisons and preserves workspace visibility. |
src/vs/sessions/contrib/sessions/browser/media/sessionsList.css |
Constrains titles and restores leading chevrons. |
src/vs/platform/actionWidget/browser/tabbedActionListWidget.ts |
Adds optional hover/focus action labels. |
src/vs/platform/actionWidget/browser/tabbedActionListWidget.css |
Styles revealed labels and trailing actions. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Dmitriy Vasyura (dmitrivMS)
previously approved these changes
Oct 14, 2026
Megan Rogge (meganrogge)
marked this pull request as draft
October 14, 2026 19:27
Megan Rogge (meganrogge)
marked this pull request as ready for review
October 14, 2026 19:37
Megan Rogge (meganrogge)
enabled auto-merge (squash)
October 14, 2026 19:37
Nest active comparison groups under their workspace and keep comparison headers from painting beneath their actions. Restore the disclosure chevron to the leading edge and cover the resulting tree hierarchy and layout constraints.\n\nFixes microsoft#339708\n\nCo-authored-by: Copilot <[email protected]>
Place model comparison beside Search instead of among provider controls, and reveal its label immediately on hover or keyboard focus. Add coverage for action order, labeling, and toggle semantics.\n\nFixes microsoft#339901\n\nCo-authored-by: Copilot <[email protected]>
Do not add a native title tooltip when a tab-bar action already reveals its label on hover or keyboard focus.\n\nCo-authored-by: Copilot <[email protected]>
Keep Compare Models consistent with the adjacent Search action and avoid overlapping inline and native tooltip treatments.\n\nCo-authored-by: Copilot <[email protected]>
Use workbench-managed hovers for model picker tab actions so Compare Models and Search display reliable tooltips without overlapping browser titles.\n\nCo-authored-by: Copilot <[email protected]>
Keep comparison-only workspaces ordered and complete, prevent nested comparison headers from top-level reordering, and scope the managed model tooltip exclusively to Compare Models.\n\nCo-authored-by: Copilot <[email protected]>
Keep the shared tabbed action widget stylesheet unchanged and apply adjacent trailing-action spacing only when the model picker's Compare Models workflow action is present.\n\nCo-authored-by: Copilot <[email protected]>
Keep ordinary workspace rendering on its existing path and pass comparison-filtered children explicitly, while retaining all sessions as workspace metadata.\n\nCo-authored-by: Copilot <[email protected]>
Megan Rogge (meganrogge)
force-pushed
the
agents/fix-session-comparison-list-rendering
branch
from
October 14, 2026 19:49
bbc1644 to
c21ff77
Compare
Dmitriy Vasyura (dmitrivMS)
approved these changes
Oct 14, 2026
Megan Rogge (meganrogge)
merged commit Oct 14, 2026
f770144
into
microsoft:main
54 of 56 checks passed
This was referenced Oct 14, 2026
2 tasks done
This was referenced Oct 16, 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.

Fixes #339708
Fixes #339901
demo.mov
Summary
Validation
npm run build-fast -- --client-only— passednpm run typecheck-client— passed./scripts/test.sh --run src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts— passed (232 tests)./scripts/test.sh --run src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts— passed (102 tests)./scripts/test.sh --run src/vs/platform/actionWidget/test/browser/tabbedActionListWidget.test.ts— passed (52 tests)npm run eslint -- src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts src/vs/sessions/contrib/sessions/test/browser/sessionsList.test.ts— passednpm run eslint -- src/vs/platform/actionWidget/browser/tabbedActionListWidget.ts src/vs/workbench/contrib/chat/browser/widget/input/modelPicker/modelPickerTabbedWidget.ts src/vs/workbench/contrib/chat/test/browser/widget/input/modelPicker/modelPickerTabbedWidget.test.ts— passednpm run stylelint -- src/vs/sessions/contrib/sessions/browser/media/sessionsList.css— passed (3 pre-existing design-token suggestions)npm run stylelint -- src/vs/platform/actionWidget/browser/tabbedActionListWidget.css— passed (1 pre-existing design-token suggestion)