Skip to content

sessions: stabilize bottom panel tab geometry - #341849

Merged
Ross Wollman (rwoll) merged 1 commit into
mainfrom
sandy081/fix-panel-test-css-isolation
Oct 15, 2026
Merged

Ross Wollman (rwoll) merged 1 commit into
mainfrom
sandy081/fix-panel-test-css-isolation

Conversation

@sandy081

Copy link
Copy Markdown
Member

Fixes the full-suite regression introduced by #341806 and reported in #341806 (comment).

The Agents panel rule that removes the classic top title border had the same specificity as the shared panel rule that adds it. As a result, stylesheet load order changed the available content height between focused and full-suite runs. This makes the Agents override explicitly more specific and updates the regression expectations to the intended full-height, vertically centered geometry.

Validation

  • npm run build-fast -- --client-only — passed.
  • ./scripts/test.sh --run src/vs/sessions/test/browser/parts/panelPart.test.ts --reporter dot — passed, 5 tests.
  • ./scripts/test.sh --run src/vs/sessions/test/browser/parts/panelPart.test.ts --run src/vs/sessions/contrib/terminal/test/browser/terminalTabsStyles.test.ts --reporter dot — passed, 14 tests after rebasing onto current main.
  • npm run stylelint -- src/vs/sessions/browser/parts/media/panelPart.css — passed.
  • npm run eslint -- src/vs/sessions/test/browser/parts/panelPart.test.ts — passed.
  • npm run typecheck-client — passed.
  • git diff --check — passed.
  • ./scripts/test.sh --reporter dot — the affected panel test passed in the full-suite CSS loading environment; 55,880 tests passed and 23 unrelated tests failed because local home paths resolved to /Users/sandy081 instead of their expected /home/... fixtures.

Make the Agents panel title-border override more specific than the shared panel rule so stylesheet load order cannot change tab and action heights. Update the regression expectations to the intended full-height geometry.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 15, 2026 19:14
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Benjamin Christopher Simmonds (@benibenj)

Matched files:

  • src/vs/sessions/browser/parts/media/panelPart.css

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The narrow specificity fix and matching regression assertions address the reported failure with no unresolved findings.

0 open findings

What changed in this PR

Stabilizes Agents window bottom-panel tab geometry after #341806 by removing stylesheet load-order dependence.

Changes:

  • Increases specificity of the Agents-only title-border override.
  • Updates regression expectations for full-height tabs and centered actions.
File Description
src/​vs/​sessions/​test/​browser/​parts/​panelPart.test.ts Updates height, centering, and indicator expectations.
src/​vs/​sessions/​browser/​parts/​media/​panelPart.css Scopes the border override to the Agents workbench with higher specificity.

🧠 Review effort: Balanced


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 61877c27 Current: 570a83c3

Changed (1)

chat/aiCustomizations/aiCustomizationManagementEditor/PluginMarketplaceMigrationDisabled/Light
Before After
before after

@rwoll
Ross Wollman (rwoll) merged commit d771f02 into main Oct 15, 2026
58 of 59 checks passed
@rwoll
Ross Wollman (rwoll) deleted the sandy081/fix-panel-test-css-isolation branch October 15, 2026 20:08
@vs-code-engineering vs-code-engineering Bot added this to the 1.143.0 milestone Oct 15, 2026
Ross Wollman (rwoll) added a commit that referenced this pull request Oct 15, 2026
Bring in #341849 and latest main after the upstream panel regression fix landed. Client fast build and focused panel/terminal-style validation passed (14 tests).

🤖 Authored with GitHub Copilot on behalf of @rwoll.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants