Repository navigation
editor: cover tab style compatibility - #338025
Merged
Cherry Wang (chryw) merged 3 commits intoSep 25, 2026
Merged
Cherry Wang (chryw) merged 3 commits into
Cherry Wang (chryw) merged 3 commits into
Conversation
Add focused component fixtures and a rendered color assertion for legacy, connected, and pill tabs in Dark Modern. This prevents connected-only strip colors from leaking back into the other supported tab presentations. Co-authored-by: Copilot <[email protected]>
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused fixtures and assertions correctly cover the reported Dark Modern regression without changing production behavior.
Review effort: Balanced
Findings: None
What changed in this PR
Adds regression coverage ensuring Dark Modern’s legacy, connected, and pill tab presentations remain visually independent.
Changes:
- Adds focused component fixtures for all three tab styles.
- Verifies tab-strip and inactive-tab background colors with Playwright.
| File | Description |
|---|---|
test/componentFixtures/playwright/tests/editorTabBar.spec.ts |
Asserts effective Dark Modern surface colors. |
src/vs/workbench/test/browser/componentFixtures/editor/editorTabBar.fixture.ts |
Adds themed fixtures for legacy, connected, and pill tabs. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Screenshot ChangesBase: Changed (1)2 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details. Added (6) |
The compatibility test opens three full themed fixtures sequentially. Give that test a larger timeout so slower shared runners can reach the assertions. Co-authored-by: Copilot <[email protected]>
roblourens
approved these changes
Sep 25, 2026
…x-legacy-tab-regression-validation
Cherry Wang (chryw)
deleted the
dev/cherwan/agents/fix-legacy-tab-regression-validation
branch
September 25, 2026 21:20
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 connected-tab rollout briefly changed shared Dark Modern tab colors, which also affected the supported legacy tab presentation reported in #337480. The production appearance regression was already fixed by #337126 and that fix is on
main.This PR makes no further production styling or appearance changes. It only adds focused fixture and specification coverage so the legacy, connected, and pill setting combinations remain independent.
Changes
#181818background.#2B2B2Bstrip.Testing
npm run compile.tests/editorTabBar.spec.tsthrough the component-fixture Playwright suite.connectedand verify the active tab joins the editor while the strip uses the connected background.pilland verify the tabs remain separate and transparent.Native Code OSS validation on macOS matched all three expected states.