Skip to content

layout - show toggled icons again for maximised panel/chat#295189

Merged
bpasero merged 6 commits intomainfrom
ben/prospective-wildebeest
Feb 13, 2026
Merged

layout - show toggled icons again for maximised panel/chat#295189
bpasero merged 6 commits intomainfrom
ben/prospective-wildebeest

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Feb 13, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 13, 2026 15:04
@bpasero bpasero enabled auto-merge (squash) February 13, 2026 15:04
@bpasero bpasero self-assigned this Feb 13, 2026
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 13, 2026
hediet
hediet previously approved these changes Feb 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the panel and auxiliary bar maximize/restore actions by consolidating separate maximize and restore actions into single toggle actions with toggled states. The goal is to properly show toggled icons for maximized panels and chat (auxiliary bar).

Changes:

  • Consolidated separate maximize and restore menu items into single toggle actions with toggled icon states
  • Removed separate restoreIcon registrations and their associated menu entries
  • Updated action configurations to use the toggled property for state-dependent icon and tooltip display

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
src/vs/workbench/browser/parts/panel/panelActions.ts Removed restoreIcon, removed panelMaximizationSupportedWhen const, consolidated maximize/restore menu items into toggle action with toggled state
src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.ts Removed restoreIcon, removed icon/menu from separate maximize/restore actions, added toggled state to ToggleMaximizedAuxiliaryBar with icon and menu
Comments suppressed due to low confidence (1)

src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.ts:277

  • This tooltip uses a different localization key ('maximizeAuxiliaryBarTooltip2') than the MaximizeAuxiliaryBar action (line 226: 'maximizeAuxiliaryBarTooltip') with identical text ("Maximize Secondary Side Bar"). This creates unnecessary duplication in the localization strings. Consider reusing the existing 'maximizeAuxiliaryBarTooltip' key.
			tooltip: localize('maximizeAuxiliaryBarTooltip2', "Maximize Secondary Side Bar"),

meganrogge
meganrogge previously approved these changes Feb 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

@bpasero bpasero merged commit 7f21d02 into main Feb 13, 2026
18 checks passed
@bpasero bpasero deleted the ben/prospective-wildebeest branch February 13, 2026 16:22
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