Skip to content

Update tab actions visibility for active tabs in Modern UI - #331629

Draft
Lee Murray (mrleemurray) wants to merge 1 commit into
mainfrom
mrleemurray/painful-tomato-mosquito
Draft

Update tab actions visibility for active tabs in Modern UI#331629
Lee Murray (mrleemurray) wants to merge 1 commit into
mainfrom
mrleemurray/painful-tomato-mosquito

Conversation

@mrleemurray

@mrleemurray Lee Murray (mrleemurray) commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

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:

  • Updated the CSS in tabs.css so 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:

  • Expanded and clarified the test in modernUI.contribution.test.ts to 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.

Copilot AI balanced review requested due to automatic review settings August 19, 2026 11:24
@mrleemurray
Lee Murray (mrleemurray) enabled auto-merge (squash) August 19, 2026 11:24
@mrleemurray Lee Murray (mrleemurray) added the candidate Issue identified as probable candidate for fixing in the next release label Aug 19, 2026
@mrleemurray Lee Murray (mrleemurray) added this to the 1.134.0 milestone Aug 19, 2026
@mrleemurray Lee Murray (mrleemurray) removed the candidate Issue identified as probable candidate for fixing in the next release label Aug 19, 2026
@mrleemurray Lee Murray (mrleemurray) removed this from the 1.134.0 milestone Aug 19, 2026

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.

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.

@github-actions

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 0dac2a8d Current: fb608240

Changed (100)

sessions/editorHeader/editorHeader/FullHeader/Dark
Before After
before after
sessions/editorHeader/editorHeader/FullHeader/Light
Before After
before after
sessions/editorHeader/editorHeader/BreadcrumbsAndAction/Dark
Before After
before after
sessions/editorHeader/editorHeader/BreadcrumbsAndAction/Light
Before After
before after
sessions/editorHeader/editorHeader/BreadcrumbsAndSecondaryAction/Dark
Before After
before after
sessions/editorHeader/editorHeader/BreadcrumbsAndSecondaryAction/Light
Before After
before after
sessions/editorHeader/editorHeader/BreadcrumbsOnly/Dark
Before After
before after
sessions/editorHeader/editorHeader/BreadcrumbsOnly/Light
Before After
before after
sessions/editorHeader/editorHeader/PrimaryActionOnly/Dark
Before After
before after
sessions/editorHeader/editorHeader/PrimaryActionOnly/Light
Before After
before after
sessions/editorHeader/editorHeader/SecondaryActionOnly/Dark
Before After
before after
sessions/editorHeader/editorHeader/SecondaryActionOnly/Light
Before After
before after
sessions/editorHeader/editorHeader/LayoutActionsOnly/Dark
Before After
before after
sessions/editorHeader/editorHeader/LayoutActionsOnly/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/Default/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/Default/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/PinnedTabsOnSeparateRowAllUnpinned/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/PinnedTabsOnSeparateRowAllUnpinned/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/PinnedTabsOnSeparateRowMixed/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/PinnedTabsOnSeparateRowMixed/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/BreadcrumbsFilePathLast/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/BreadcrumbsFilePathLast/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/BreadcrumbsIconsOff/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/BreadcrumbsIconsOff/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabSizingShrink/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabSizingShrink/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabSizingFixed/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabSizingFixed/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabHeightCompact/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabHeightCompact/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/WrapTabs/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/WrapTabs/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabActionLocationLeft/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabActionLocationLeft/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabActionUnpinHidden/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabActionUnpinHidden/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabActionReserveSpaceOn/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TabActionReserveSpaceOn/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ShowTabIndex/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ShowTabIndex/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/HighlightModifiedTabs/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/HighlightModifiedTabs/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/LabelFormatShort/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/LabelFormatShort/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/LabelFormatMedium/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/LabelFormatMedium/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/LabelFormatLong/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/LabelFormatLong/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ShowIconsOff/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ShowIconsOff/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/DecorationsOff/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/DecorationsOff/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/PinnedTabSizingCompact/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/PinnedTabSizingCompact/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/PinnedTabSizingShrink/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/PinnedTabSizingShrink/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TitleScrollbarLarge/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TitleScrollbarLarge/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TitleScrollbarVisible/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/TitleScrollbarVisible/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/EditorActionsDefault/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/EditorActionsDefault/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/EditorActionsTitleBar/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/EditorActionsTitleBar/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/EditorActionsHidden/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/EditorActionsHidden/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/AlwaysShowEditorActionsActiveGroup/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/AlwaysShowEditorActionsActiveGroup/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/AlwaysShowEditorActionsInactiveGroup/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/AlwaysShowEditorActionsInactiveGroup/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ActiveGroup/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ActiveGroup/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/InactiveGroup/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/InactiveGroup/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/MultiSelect/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/MultiSelect/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/InactiveGroupDirty/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/InactiveGroupDirty/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/LongLabelsShrink/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/LongLabelsShrink/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/DropTargetBetweenTabs/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/DropTargetBetweenTabs/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/StickyCompactNoIcons/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/StickyCompactNoIcons/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/CannotCloseActive/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/CannotCloseActive/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/CannotCloseDirty/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/CannotCloseDirty/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/CannotCloseSticky/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/CannotCloseSticky/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/PinnedSeparateRowCompact/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/PinnedSeparateRowCompact/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ThemeColors/TabStates/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ThemeColors/TabStates/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ThemeColors/ActiveAction/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ThemeColors/ActiveAction/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ThemeColors/ActiveHover/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ThemeColors/ActiveHover/Light
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ThemeColors/SelectedAction/Dark
Before After
before after
editor/editorTabBar/editorTabBar/ModernUIOn/ThemeColors/SelectedAction/Light
Before After
before after

@mrleemurray
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

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.

2 participants