Skip to content

refactor: rename image carousel configuration and update related descriptions#303630

Merged
TylerLeonhardt merged 3 commits intomainfrom
tyler/atomic-spoonbill
Mar 20, 2026
Merged

refactor: rename image carousel configuration and update related descriptions#303630
TylerLeonhardt merged 3 commits intomainfrom
tyler/atomic-spoonbill

Conversation

@TylerLeonhardt
Copy link
Member

also make default true

Copilot AI review requested due to automatic review settings March 20, 2026 22:39
@TylerLeonhardt TylerLeonhardt enabled auto-merge (squash) March 20, 2026 22:39
@TylerLeonhardt TylerLeonhardt self-assigned this Mar 20, 2026
@vs-code-engineering vs-code-engineering bot added this to the 1.113.0 milestone Mar 20, 2026
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 renames and reorganizes the image carousel enablement setting used by chat, and updates related user-facing labels/descriptions to use the new “Show Images” / “Images Preview” wording.

Changes:

  • Move the chat image-carousel enablement setting from chat.imageCarousel.enabled to imageCarousel.chat.enabled and register it under the imageCarousel configuration section.
  • Update editor pane and command/menu titles from “Image Carousel” / “Open …” to “Images Preview” / “Show Images”.
  • Enable the Explorer context-menu entry by default via imageCarousel.explorerContextMenu.enabled: true.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/vs/workbench/contrib/imageCarousel/browser/imageCarousel.contribution.ts Adds imageCarousel.chat.enabled, flips Explorer context-menu default to true, and updates UI strings to “Show Images” / “Images Preview”.
src/vs/workbench/contrib/chat/common/constants.ts Points ChatConfiguration.ImageCarouselEnabled at the new imageCarousel.chat.enabled key.
src/vs/workbench/contrib/chat/browser/chat.contribution.ts Removes the old chat.imageCarousel.enabled configuration registration.
Comments suppressed due to low confidence (1)

src/vs/workbench/contrib/chat/browser/chat.contribution.ts:506

  • The setting key was renamed from chat.imageCarousel.enabled to imageCarousel.chat.enabled and the old schema entry was removed, but there is no configuration migration registered to preserve existing user/workspace settings. Add a registerConfigurationMigrations entry that moves any existing chat.imageCarousel.enabled values over to the new key (and ideally clears the old key), so users don’t silently lose their configuration after upgrading.
			type: 'boolean',
			tags: ['experimental']
		},
		[ChatConfiguration.ArtifactsEnabled]: {
			default: false,
			description: nls.localize('chat.artifacts.enabled', "Controls whether the artifacts view is available in chat."),
			type: 'boolean',
			tags: ['experimental']

@TylerLeonhardt TylerLeonhardt merged commit ba9458c into main Mar 20, 2026
19 checks passed
@TylerLeonhardt TylerLeonhardt deleted the tyler/atomic-spoonbill branch March 20, 2026 23:17
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