Update tab actions visibility for active tabs in Modern UI - #331629
Draft
Lee Murray (mrleemurray) wants to merge 1 commit into
Draft
Update tab actions visibility for active tabs in Modern UI#331629Lee Murray (mrleemurray) wants to merge 1 commit into
Lee Murray (mrleemurray) wants to merge 1 commit into
Conversation
Lee Murray (mrleemurray)
enabled auto-merge (squash)
August 19, 2026 11:24
Contributor
There was a problem hiding this comment.
Pull request overview
Restricts always-visible reserved tab actions to active Modern UI tabs.
Changes:
- Scopes reserved action visibility and pointer interaction to active tabs.
- Expands CSS-state tests across active and inactive editor groups.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
modernUI.contribution.test.ts |
Tests reserved action visibility and interaction states. |
tabs.css |
Limits persistent reserved actions to active tabs. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Screenshot ChangesBase: Changed (100) |
Lee Murray (mrleemurray)
marked this pull request as draft
August 19, 2026 12:21
auto-merge was automatically disabled
August 19, 2026 12:21
Pull request was converted to draft
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.
This pull request updates the behavior and testing of reserved tab actions in the Modern UI tabs. The main focus is to ensure that reserved tab actions are only visible and interactive for active tabs, improving clarity and reducing confusion in the UI. The test coverage has been expanded and clarified to reflect these changes.
Modern UI tab actions behavior changes:
tabs.cssso that reserved tab actions are only visible and clickable for active tabs, rather than for all tabs when the action column is reserved. This ensures that inactive tabs do not display or allow interaction with reserved actions.Test improvements:
modernUI.contribution.test.tsto cover more scenarios, including active and inactive tabs in both active and inactive editor groups. The test now verifies that reserved tab actions are only shown for active tabs and are hidden or disabled for others.