Skip to content

Enhance modal editor and improve empty state styling#303180

Merged
mrleemurray merged 4 commits intomainfrom
mrleemurray/boiling-amethyst-cheetah
Mar 19, 2026
Merged

Enhance modal editor and improve empty state styling#303180
mrleemurray merged 4 commits intomainfrom
mrleemurray/boiling-amethyst-cheetah

Conversation

@mrleemurray
Copy link
Contributor

Improvements include enhanced styling for the modal editor and empty states in AI customization management, along with the addition of a minimum width configuration for the modal editor. Adjustments to spacing and visibility for group headers also enhance the overall user experience.

mrleemurray and others added 2 commits March 19, 2026 12:12
…iguration

Co-authored-by: Copilot <copilot@github.com>
…ation management

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings March 19, 2026 12:40
@mrleemurray mrleemurray enabled auto-merge (squash) March 19, 2026 12:40
@mrleemurray mrleemurray self-assigned this Mar 19, 2026
@vs-code-engineering
Copy link
Contributor

vs-code-engineering bot commented Mar 19, 2026

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@bpasero

Matched files:

  • src/vs/platform/editor/common/editor.ts
  • src/vs/workbench/browser/parts/editor/modalEditorPart.ts
  • src/vs/workbench/browser/workbench.contribution.ts

@vs-code-engineering vs-code-engineering bot added this to the 1.113.0 milestone Mar 19, 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 refines UI styling for AI customization list empty states and group headers, and introduces a configurable minimum width for modal editor overlays (with a sessions-window default override) to improve modal usability.

Changes:

  • Add a new workbench.editor.modalMinWidth setting and apply it to modal editor overlay sizing (plus sessions defaults override).
  • Update AI customization / MCP / plugin list empty-state DOM structure to support a header row layout (icon + title).
  • Adjust AI customization management CSS (empty-state spacing, group header visuals) and tweak dropdown-button padding.

Reviewed changes

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

Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/aiCustomization/pluginListWidget.ts Wrap empty-state icon + title in a new .empty-state-header container.
src/vs/workbench/contrib/chat/browser/aiCustomization/mcpListWidget.ts Same empty-state header wrapper to enable improved layout.
src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationListWidget.ts Introduce .empty-state-header wrapper for list empty state (icon + title).
src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css Update typography/spacing and group header styling in customization management views.
src/vs/workbench/browser/workbench.contribution.ts Register new workbench.editor.modalMinWidth configuration setting.
src/vs/workbench/browser/parts/editor/modalEditorPart.ts Use the new setting (and optional options.minWidth) to set modal min size.
src/vs/sessions/contrib/configuration/browser/configuration.contribution.ts Override sessions defaults to set workbench.editor.modalMinWidth to 600.
src/vs/sessions/browser/media/style.css Sessions-specific styling for modal overlay and empty-state header row layouts.
src/vs/platform/editor/common/editor.ts Extend IModalEditorPartOptions with optional minWidth.
src/vs/base/browser/ui/button/button.css Adjust padding for the dropdown portion of button-with-dropdown.

mrleemurray and others added 2 commits March 19, 2026 12:53
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@mrleemurray mrleemurray merged commit 32159ce into main Mar 19, 2026
19 checks passed
@mrleemurray mrleemurray deleted the mrleemurray/boiling-amethyst-cheetah branch March 19, 2026 13:54
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