Repository navigation
sessions: balance chat and detail tab spacing - #340823
Open
Cherry Wang (chryw) wants to merge 3 commits into
Open
Cherry Wang (chryw) wants to merge 3 commits into
Cherry Wang (chryw) wants to merge 3 commits into
Conversation
Preserve editor icon gutters, logical chat action spacing, and Connected RTL outlines at aligned and genuinely clipped viewport edges. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Screenshot ChangesBase: Changed (33)Added (3) |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The spacing and RTL changes are focused, lifecycle-safe, and comprehensively covered by targeted tests and fixtures.
0 open findings
What changed in this PR
Balances Agents-window tab spacing while preserving standard editor-tab geometry and improving RTL clipping behavior.
Changes:
- Separates chat-tab padding from editor icon gutters.
- Corrects Connected-tab RTL shoulders, clipping strokes, and cleanup.
- Adds RTL, high-contrast, fractional-width, and visual fixture coverage.
| File | Description |
|---|---|
build/lib/stylelint/vscode-known-variables.json |
Registers the new tab inset variable. |
src/vs/sessions/browser/parts/chatCompositeBar.ts |
Tracks action spacing and clipping state. |
src/vs/sessions/browser/parts/media/chatCompositeBar.css |
Updates chat spacing and RTL rendering. |
src/vs/sessions/browser/parts/media/editorPart.css |
Defines detail-tab icon insets. |
src/vs/sessions/contrib/chat/test/browser/sessionsGrid.fixture.ts |
Adds RTL visual fixtures. |
src/vs/sessions/test/browser/chatCompositeBar.test.ts |
Expands spacing and clipping tests. |
src/vs/workbench/contrib/modernUI/browser/media/tabs.css |
Separates editor and standalone tab padding. |
src/vs/workbench/test/browser/componentFixtures/sessions/chatCompositeBar.fixture.ts |
Updates visual expectations. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Size the tab viewport and its scrollable wrapper explicitly so RTL clipping coverage does not depend on platform-specific outer flex sizing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Cherry Wang (chryw)
marked this pull request as ready for review
October 10, 2026 04:13
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: Benjamin Christopher Simmonds (@benibenj)Matched files:
|
Preserve the validated source tree while refreshing the head signature using cherwan@microsoft.com. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
roblourens
approved these changes
Oct 11, 2026
This branch has not been deployed
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.
Balance label and Close-button spacing in Agents-window chat tabs, and keep detail-pane icon insets consistent without changing ordinary editor-tab geometry.
Follow-up to #340635. Fixes #336471. Related to #331234 and #339782; these broader spacing reports are non-closing references.
Changes
clientWidthat fractional widths.Testing
Local validation:
npm run build-fast -- --client-only— passed../scripts/test.sh --run src/vs/sessions/test/browser/chatCompositeBar.test.ts --run src/vs/workbench/test/browser/parts/editor/multiEditorTabsControl.test.ts --reporter dot— passed.npm run typecheck-client— passed.Visual comparison
Matched dark-theme, running-chat scenes at the same viewport, zoom, and device scale; spinner animation is frozen. An inactive Close button is hovered.
Before:
After:
Corner-contour refinement and wrapped editor-action overlap are separate workstreams; this PR does not claim to resolve them.