Skip to content

Agents - fix issue with the editor part being hidden when the modal editor (ex: settings) opens#310540

Merged
lszomoru merged 2 commits intomainfrom
lszomoru/upper-kite
Apr 16, 2026
Merged

Agents - fix issue with the editor part being hidden when the modal editor (ex: settings) opens#310540
lszomoru merged 2 commits intomainfrom
lszomoru/upper-kite

Conversation

@lszomoru
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 16, 2026 06:22
@lszomoru lszomoru enabled auto-merge (squash) April 16, 2026 06:22
@lszomoru lszomoru self-assigned this Apr 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 16, 2026

Screenshot Changes

Base: 866d1d88 Current: 9c859165

Changed (3)

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Dark
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Light
Before After
before after
editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after

blocks-ci screenshots changed

Replace the contents of test/componentFixtures/blocks-ci-screenshots.md with:

Updated blocks-ci-screenshots.md
<!-- auto-generated by CI — do not edit manually -->

#### editor/codeEditor/CodeEditor/Dark
![screenshot](https://hediet-screenshots.azurewebsites.net/images/cb32a3e854b5734fe5aaca2318f2e0a42ee821b05ea97883ea42c5ba95edb3c3)

#### editor/codeEditor/CodeEditor/Light
![screenshot](https://hediet-screenshots.azurewebsites.net/images/42624fbba5e0db7f32c224b5eb9c5dd3b08245697ae2e7d2a88be0d7c287129b)

Copy link
Copy Markdown
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

Fixes the Sessions (Agents) workbench behavior where opening a modal editor (e.g. Settings) incorrectly hides an already-visible main editor part, and updates the Sessions layout spec accordingly.

Changes:

  • Adjusts onWillOpenEditor handling so only opens targeting a main editor group can affect main editor-part visibility; modal opens no longer hide it.
  • Updates LAYOUT.md to reflect that the editor part is hidden by default but can be revealed by explicit main-part editor workflows.
Show a summary per file
File Description
src/vs/sessions/browser/workbench.ts Changes editor-open listener logic to ignore modal editor opens when deciding whether to reveal/hide the main editor part.
src/vs/sessions/LAYOUT.md Updates the layout diagram and narrative to describe the hidden-by-default editor part and how explicit main-part opens can reveal it.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 1

Comment thread src/vs/sessions/LAYOUT.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@lszomoru lszomoru merged commit 503edcb into main Apr 16, 2026
39 of 41 checks passed
@lszomoru lszomoru deleted the lszomoru/upper-kite branch April 16, 2026 07:28
@vs-code-engineering vs-code-engineering bot added this to the 1.117.0 milestone Apr 16, 2026
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ok

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