Skip to content

Move customization entrypoint into new chat view - #334604

Merged
Hawk Ticehurst (hawkticehurst) merged 5 commits into
mainfrom
agents/customization-entrypoint-refactor
Sep 4, 2026
Merged

Hawk Ticehurst (hawkticehurst) merged 5 commits into
mainfrom
agents/customization-entrypoint-refactor

Conversation

@hawkticehurst

@hawkticehurst Hawk Ticehurst (hawkticehurst) commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

This pull request refactors the customization entrypoint in the new chat view, implementing several key changes based on user requests.

Changes Made

  • Customize Pill Alignment: Moved the Customize pill to align with the right edge of the chat input box, while keeping the workspace and model picker pills left-aligned.
  • Active Session Title Update: Removed the yellow dot from the active session title's Customize action, maintaining its label, icon, and tooltip functionality.
  • Experimental Setting: Introduced a new experimental setting chat.agentSessions.customizationEntryPoints that:
    • Is enabled by default outside of Stable.
    • Allows toggling between the new entrypoints and the existing sidebar customization UI.
    • Dynamically adjusts the UI based on the experiment state.
  • Migration Discovery: Updated to ensure migration discovery is disabled when the experiment is off, correctly handling all migration categories.
ui-diff-20260904-155854 ui-diff-20260904-160041 Screenshot 2026-09-04 at 3 56 29 PM

Validation

  • All type checks and layer validations passed.
  • Focused tests for the NewChatWidget confirmed 19 passing cases.
  • Verified the UI changes in a live Code OSS instance, ensuring the new layout and functionality work as intended.

This refactor enhances the user experience by streamlining customization options while maintaining backward compatibility with existing features.

Copilot AI balanced review requested due to automatic review settings September 4, 2026 19:55

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.

🟡 Changes recommended

Migration availability can become stale, and the customization editor can bypass the AI-feature gate.

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

Pull request overview

Refactors Agents Window customization access behind an experimental setting, moving entry points into the composer and session headers.

Changes:

  • Adds configurable customization entry points and sidebar fallback.
  • Adds migration availability indicators and refresh logic.
  • Updates accessibility help, tests, fixtures, and styling.
File summaries
File Description
constants.ts Defines the setting key.
chat.shared.contribution.ts Registers the experimental setting.
customizationMigrationAvailabilityService.ts Computes migration availability.
sessionsView.ts Dynamically toggles the sidebar pane.
customizationsToolbar.css Styles the header action.
customizationsToolbar.contribution.ts Adds header/context-menu entry points.
newChatWidget.test.ts Tests composer placement and behavior.
newChatWidget.fixture.ts Updates visual fixtures.
sessionsChatAccessibilityHelp.ts Updates accessibility guidance.
newChatWidget.ts Adds the Customize composer pill.
chatWidget.css Aligns and styles the pill indicator.
aiCustomizationTreeView.contribution.ts Routes the existing shortcut conditionally.
customizations.ts Centralizes the command ID.
Review details
  • Files reviewed: 13/13 changed files
  • Comments generated: 4
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Base: 167a0e8f Current: 68fc01d3

No screenshot changes.

Move customization access into new-chat and active-session surfaces, preserve migration attention state, and remove the superseded sidebar widget.\n\nCo-authored-by: Copilot <[email protected]>
@hawkticehurst
Hawk Ticehurst (hawkticehurst) force-pushed the agents/customization-entrypoint-refactor branch from 8f71291 to a325799 Compare September 4, 2026 20:26
@hawkticehurst Hawk Ticehurst (hawkticehurst) changed the title Refactor customization entrypoint for new chat view Move customization entrypoint into new chat view Sep 4, 2026
@hawkticehurst
Hawk Ticehurst (hawkticehurst) merged commit de41bad into main Sep 4, 2026
60 of 61 checks passed
@hawkticehurst
Hawk Ticehurst (hawkticehurst) deleted the agents/customization-entrypoint-refactor branch September 4, 2026 21:55
@vs-code-engineering vs-code-engineering Bot added this to the 1.137.0 milestone Sep 4, 2026
Hawk Ticehurst (hawkticehurst) added a commit that referenced this pull request Sep 10, 2026
* sessions: restore customization entrypoints to the sidebar

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]>

* sessions: hide sidebar customizations on phone layouts

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]>

* test: provide layout service in sessions accessibility help tests

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]>

---------

Co-authored-by: Copilot <[email protected]>
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Oct 19, 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