Skip to content

Add descriptions to chat customization creator menu#311812

Merged
pwang347 merged 6 commits intomainfrom
pawang/customizationLabels
Apr 22, 2026
Merged

Add descriptions to chat customization creator menu#311812
pwang347 merged 6 commits intomainfrom
pawang/customizationLabels

Conversation

@pwang347
Copy link
Copy Markdown
Member

@pwang347 pwang347 commented Apr 22, 2026

Fixes #295151

image image

Copilot AI review requested due to automatic review settings April 22, 2026 01:16
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2026

Screenshot Changes

Base: 6baf3290 Current: 0ddeba42

Changed (1)

chat/aiCustomizations/aiCustomizationManagementEditor/McpBrowseMode/Light
Before After
before after

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

This PR updates chat customization folder pickers to show richer metadata (display paths + per-source descriptions) and introduces a dedicated PromptFileSource.UserData source for the Settings Sync–roaming prompts home.

Changes:

  • Add PromptFileSource.UserData and use it for the profile promptsHome folder.
  • Switch prompt-folder pickers to use getResolvedSourceFolders() so the UI can show display paths + descriptions and mark defaults.
  • Update hook configuration folder selection to show the same metadata/descriptions.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.ts Updates the user-data prompts folder source and adjusts skill discovery loop.
src/vs/workbench/contrib/chat/common/promptSyntax/promptTypes.ts Adds the new UserData enum value for prompt file source attribution.
src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/askForPromptSourceFolder.ts Uses resolved source folders to show display paths/descriptions and to sort/pick defaults.
src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.ts Updates the hook folder selection step to use resolved source folders and show descriptions.

Copilot's findings

  • Files reviewed: 4/4 changed files
  • Comments generated: 5

Comment thread src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.ts Outdated
Comment thread src/vs/workbench/contrib/chat/common/promptSyntax/utils/promptFilesLocator.ts Outdated
Comment thread src/vs/workbench/contrib/chat/browser/promptSyntax/hookActions.ts Outdated
@pwang347 pwang347 marked this pull request as ready for review April 22, 2026 18:11
@pwang347 pwang347 enabled auto-merge (squash) April 22, 2026 18:16
@pwang347 pwang347 disabled auto-merge April 22, 2026 18:18
osortega
osortega previously approved these changes Apr 22, 2026
@pwang347 pwang347 enabled auto-merge (squash) April 22, 2026 19:19
@pwang347 pwang347 merged commit 09a7290 into main Apr 22, 2026
26 checks passed
@pwang347 pwang347 deleted the pawang/customizationLabels branch April 22, 2026 19:38
@vs-code-engineering vs-code-engineering Bot added this to the 1.118.0 milestone Apr 22, 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.

Skill location explanations

4 participants