Skip to content

agent sessions - restore ability to hide sidebar when chat maximised#292048

Merged
bpasero merged 2 commits intomainfrom
ben/near-tiger
Jan 31, 2026
Merged

agent sessions - restore ability to hide sidebar when chat maximised#292048
bpasero merged 2 commits intomainfrom
ben/near-tiger

Conversation

@bpasero
Copy link
Member

@bpasero bpasero commented Jan 31, 2026

No description provided.

@bpasero bpasero added this to the February 2026 milestone Jan 31, 2026
@bpasero bpasero self-assigned this Jan 31, 2026
Copilot AI review requested due to automatic review settings January 31, 2026 12:43
@bpasero bpasero enabled auto-merge (squash) January 31, 2026 12:44
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 pull request restores the ability to hide the agent sessions sidebar when the chat view is maximized in the auxiliary bar. Previously, when the auxiliary bar was maximized, the code forced the sessions viewer to display in side-by-side orientation, preventing users from hiding it.

Changes:

  • Removed the logic that forced side-by-side orientation when auxiliary bar is maximized
  • Removed AuxiliaryBarMaximizedContext preconditions from agent session orientation and visibility actions
  • Removed AuxiliaryBarMaximizedContext from menu item visibility conditions

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/vs/workbench/contrib/chat/browser/widgetHosts/viewPane/chatViewPane.ts Removed code block that forced side-by-side orientation when auxiliary bar is maximized, allowing users to control the orientation freely
src/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsActions.ts Removed AuxiliaryBarMaximizedContext import and preconditions from orientation toggle actions and show/hide/toggle sidebar actions
src/vs/workbench/contrib/chat/browser/agentSessions/agentSessions.contribution.ts Removed AuxiliaryBarMaximizedContext import and conditions from menu item visibility logic for agent sessions toolbar buttons

…onsActions.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bpasero bpasero merged commit d219100 into main Jan 31, 2026
22 checks passed
@bpasero bpasero deleted the ben/near-tiger branch January 31, 2026 16:32
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