Enhance modal editor and improve empty state styling#303180
Merged
mrleemurray merged 4 commits intomainfrom Mar 19, 2026
Merged
Enhance modal editor and improve empty state styling#303180mrleemurray merged 4 commits intomainfrom
mrleemurray merged 4 commits intomainfrom
Conversation
…iguration Co-authored-by: Copilot <copilot@github.com>
…ation management Co-authored-by: Copilot <copilot@github.com>
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @bpaseroMatched files:
|
Contributor
There was a problem hiding this comment.
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.modalMinWidthsetting 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. |
src/vs/workbench/contrib/chat/browser/aiCustomization/media/aiCustomizationManagement.css
Show resolved
Hide resolved
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>
lszomoru
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.