Skip to content

Always open overview from sidebar customization entrypoints#311050

Merged
joshspicer merged 2 commits intomainfrom
agents/fix-sidebar-customization-entrypoints
Apr 17, 2026
Merged

Always open overview from sidebar customization entrypoints#311050
joshspicer merged 2 commits intomainfrom
agents/fix-sidebar-customization-entrypoints

Conversation

@joshspicer
Copy link
Copy Markdown
Member

Follow-up to #310871.

That PR updated the customizations overview view to always open the management editor's welcome/overview page rather than deep-linking into a section. However, the sidebar entrypoint actions (Agents, Skills, Instructions, Hooks, MCP Servers, Plugins) registered in customizationsToolbar.contribution.ts were still calling editor.selectSectionById(config.section) after opening the editor, so clicking any of them in the agents app sidebar still jumped straight to that section instead of the overview.

This removes the selectSectionById call (and the now-unused AICustomizationManagementEditor import) so all sidebar entrypoints land on the overview page.

Follow-up to #310871: the sidebar entrypoint actions (Agents, Skills,
Instructions, Hooks, MCP Servers, Plugins) still called
selectSectionById after opening the editor, which deep-linked into
the section instead of showing the overview.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 17, 2026 17:22
@joshspicer joshspicer enabled auto-merge (squash) April 17, 2026 17:23
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

Aligns the Agents window sidebar customization entrypoints with the updated “always open overview” behavior for the AI Customizations management editor, avoiding section deep-links from sidebar actions.

Changes:

  • Removed the post-open selectSectionById(...) call so sidebar actions no longer jump to a specific section.
  • Dropped the now-unused AICustomizationManagementEditor import.
Show a summary per file
File Description
src/vs/sessions/contrib/sessions/browser/customizationsToolbar.contribution.ts Ensures all sidebar customization actions open the AI Customizations editor on its overview/welcome page by removing section selection logic.

Copilot's findings

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@joshspicer joshspicer merged commit 960abe8 into main Apr 17, 2026
40 of 41 checks passed
@joshspicer joshspicer deleted the agents/fix-sidebar-customization-entrypoints branch April 17, 2026 18:23
@vs-code-engineering vs-code-engineering Bot added this to the 1.117.0 milestone Apr 17, 2026
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.

3 participants