Skip to content

Restore customization entrypoints to the sidebar - #335376

Merged
Hawk Ticehurst (hawkticehurst) merged 3 commits into
mainfrom
agents/revert-customization-entrypoint-ui
Sep 10, 2026
Merged

Hawk Ticehurst (hawkticehurst) merged 3 commits into
mainfrom
agents/revert-customization-entrypoint-ui

Conversation

@hawkticehurst

Copy link
Copy Markdown
Member

Summary

Roll back the customization entrypoint relocation from #334604 following a reported significant Agents window performance regression.

  • Restore the collapsible Customizations section at the bottom of the left sidebar and its focus command.
  • Remove the new-session Customize pill, session-header entrypoints, and chat.agentSessions.customizationEntryPoints experiment.
  • Remove the background migration-availability service introduced for those entrypoints, including its refresh subscriptions and tests. Keep the underlying customization management and migration functionality.
  • Update accessibility help, composer tests, and fixtures while preserving unrelated changes made since the original merge and AI-disabled gating.

This is a rollback, not a diagnosis or fix for the other performance hotspots. No new performance trace was captured, so it does not establish that all reported main-thread saturation is resolved.

Validation

  • npm i and native dependency rebuild succeeded.
  • npm run compile passed with zero errors, including built-in extensions.
  • npm run valid-layers-check passed.
  • Repository hygiene and commit hooks passed.
  • 41 focused tests passed across newChatWidget, sessionsRename, and sessionCustomizations.
  • Launched Code OSS and verified that sidebar Overview opens customization management; checked composer/sidebar fixtures and keyboard collapse.
  • Author manually verified the UI changes in the running Agents window.

No dependency manifests or lockfiles changed.

Roll back #334604 following a reported Agents window performance regression. Remove the composer/header entrypoints, experimental setting, and background migration-availability service while preserving subsequent unrelated changes.

Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings September 10, 2026 00:31

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.

Copilot review overview

🟡 Changes recommended

The restored pane reserves hidden space and exposes a nonfunctional focus path on phone layouts.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Balanced
Findings: 1 Medium severity · 1 Low severity

New issues introduced by this change (2)
Severity Finding
Medium severity src/​vs/​sessions/​contrib/​sessions/​browser/​views/​sessionsView.ts — This unconditionally restores a SplitView pane that is not usable on phone layouts.…
Low severity src/​vs/​sessions/​contrib/​sessions/​browser/​customizationsToolbar.contribution.ts — After removing the session-header and composer callers, this helper is only used within this file.…
What changed in this PR

Restores customization controls to the Agents sidebar while removing the experimental composer/header entrypoints and migration-availability service.

Changes:

  • Restores the collapsible sidebar customization section and focus command.
  • Removes the Customize pill, header actions, experiment setting, and background migration discovery.
  • Updates accessibility text, tests, fixtures, styles, and screenshot metadata.
File Description
test/​componentFixtures/​blocks-ci-screenshots.md Removes obsolete default-composer baselines.
src/​vs/​workbench/​contrib/​chat/​test/​browser/​aiCustomization/​customizationMigrationAvailabilityService.test.ts Removes tests for the deleted service.
src/​vs/​workbench/​contrib/​chat/​common/​constants.ts Removes the experiment configuration key.
src/​vs/​workbench/​contrib/​chat/​browser/​chat.shared.contribution.ts Unregisters the experiment setting.
src/​vs/​workbench/​contrib/​chat/​browser/​aiCustomization/​customizationMigrationAvailabilityService.ts Removes background migration discovery.
src/​vs/​sessions/​contrib/​sessions/​test/​browser/​sessionsRename.test.ts Verifies updated accessibility help.
src/​vs/​sessions/​contrib/​sessions/​browser/​views/​sessionsView.ts Restores the customization sidebar pane.
src/​vs/​sessions/​contrib/​sessions/​browser/​media/​customizationsToolbar.css Removes session-header action styling.
src/​vs/​sessions/​contrib/​sessions/​browser/​customizationsToolbar.contribution.ts Restores sidebar-only customization actions.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​newChatWidget.test.ts Removes Customize-trigger tests.
src/​vs/​sessions/​contrib/​chat/​test/​browser/​newChatWidget.fixture.ts Updates composer fixtures.
src/​vs/​sessions/​contrib/​chat/​browser/​sessionsChatAccessibilityHelp.ts Documents the restored sidebar section.
src/​vs/​sessions/​contrib/​chat/​browser/​newChatWidget.ts Removes the composer Customize trigger.
src/​vs/​sessions/​contrib/​chat/​browser/​media/​chatWidget.css Removes Customize-trigger styling.
src/​vs/​sessions/​contrib/​aiCustomizationTreeView/​browser/​aiCustomizationTreeView.contribution.ts Restores focus behavior for the sidebar section.
src/​vs/​sessions/​common/​customizations.ts Removes the obsolete shared command constant.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

roblourens
roblourens previously approved these changes Sep 10, 2026
Exclude the customization pane and its focus command on phones, restore the pane when returning to desktop, and cover layout transitions and accessibility help. Keep the overview helper file-local.

Co-authored-by: Copilot <[email protected]>
Add the missing layout-service mock required by the phone-layout guard. Validated the accessibility and sidebar suites in WebKit (20 tests passing).

Co-authored-by: Copilot <[email protected]>
@hawkticehurst
Hawk Ticehurst (hawkticehurst) merged commit a0a429c into main Sep 10, 2026
33 checks passed
@hawkticehurst
Hawk Ticehurst (hawkticehurst) deleted the agents/revert-customization-entrypoint-ui branch September 10, 2026 01:15
@vs-code-engineering vs-code-engineering Bot added this to the 1.138.0 milestone Sep 10, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Oct 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants