Skip to content

Open chat customizations from the chat gear#301164

Open
jamesmontemagno wants to merge 2 commits intomainfrom
jamont/chat-customizations-access
Open

Open chat customizations from the chat gear#301164
jamesmontemagno wants to merge 2 commits intomainfrom
jamont/chat-customizations-access

Conversation

@jamesmontemagno
Copy link
Member

Summary

When Chat Customizations are enabled, clicking the Chat view gear now opens the Chat Customizations editor directly instead of showing the legacy Configure Chat dropdown.

When Chat Customizations are disabled, the existing Configure Chat dropdown remains unchanged.

What Changed

  • add a dedicated Chat view title action that invokes the existing Chat Customizations editor command
  • gate that action on chat enablement plus chat.customizationsMenu.enabled
  • gate the existing gear submenu registration to the disabled state so it remains the fallback path

Why

The new Chat Customizations surface already centralizes the relevant configuration and authoring entry points. Sending users there directly from the gear removes an extra dropdown step when the feature is available, while preserving the previous behavior when it is not.

Validation

  • verified the changed file has no diagnostics
  • ran the VS Code build watch path for transpile/typecheck
  • observed no TypeScript errors from this change

Notes

There are unrelated existing warnings in the Rust CLI workspace that were not touched by this change.

Copilot AI review requested due to automatic review settings March 12, 2026 16:56
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 PR changes the Chat view gear icon behavior when Chat Customizations are enabled. Instead of showing the legacy "Configure Chat" dropdown submenu, it directly opens the Chat Customizations editor. When the feature is disabled, the existing dropdown remains.

Changes:

  • Added a new OpenChatCustomizationsTitleAction that opens the AI Customizations editor directly from the Chat view title bar gear icon, gated on chat.customizationsMenu.enabled.
  • Gated the existing gear submenu registration to only appear when chat.customizationsMenu.enabled is not set, so the two are mutually exclusive.

You can also share your feedback on Copilot code review. Take the survey.

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