Skip to content

Update MCP modal icon placement and styling - #339170

Merged
Hawk Ticehurst (hawkticehurst) merged 2 commits into
mainfrom
agents/mcp-modal-icon-placement-update
Oct 1, 2026
Merged

Hawk Ticehurst (hawkticehurst) merged 2 commits into
mainfrom
agents/mcp-modal-icon-placement-update

Conversation

@hawkticehurst

@hawkticehurst Hawk Ticehurst (hawkticehurst) commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Fixes #338493

This pull request implements changes to the MCP customization modal by repositioning the warning and error icons. The icons are now displayed at the beginning of their respective messages, improving visual alignment and clarity.

Changes made:

  • Moved the partially-supported and unsupported icons from the action area to the start of their messages in mcpListWidget.ts.
  • Adjusted the icon size to a compact 12px in aiCustomizationManagement.css, ensuring they match the text size.
  • Updated the icons to inherit the color of their companion text (red for unsupported and yellow for partially supported).
  • Marked the inline icons as decorative with aria-hidden to maintain accessibility.
  • Updated unit tests in mcpListWidget.test.ts to reflect these changes.
  • Ensured all changes were validated through successful compilation and passing tests.

This update enhances the user experience by providing a more cohesive visual representation of the status messages.

Screenshot

Image

Render compatibility severity icons inline at compact size and match their message colors.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 1, 2026 20:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The 12px icons use full-size glyphs, and the placement test does not assert that the icon is first.

Review effort: Balanced
Findings: 1 Medium severity · 1 Low severity

Open (2)
What changed in this PR

Repositions MCP compatibility icons beside their messages to keep row actions aligned.

Changes:

  • Moves compatibility icons from actions into status messages.
  • Applies compact sizing, inherited colors, and decorative ARIA treatment.
  • Updates unit tests and visual fixtures.
File Description
mcpListWidget.ts Moves icons into compatibility messages.
aiCustomizationManagement.css Styles inline compatibility icons.
mcpListWidget.test.ts Updates compatibility-icon tests.
aiCustomizationManagementEditor.fixture.ts Updates visual fixture states and descriptions.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 4fbe620f Current: 4527e8ce

Changed (3)

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabCopilotCompatibility/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersAllStates/Light
Before After
before after
chat/aiCustomizations/aiCustomizationManagementEditor/DiscoverPluginsLoadingMore/Light
Before After
before after

2 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details.

@hawkticehurst
Hawk Ticehurst (hawkticehurst) merged commit d6c9edb into main Oct 1, 2026
36 checks passed
@hawkticehurst
Hawk Ticehurst (hawkticehurst) deleted the agents/mcp-modal-icon-placement-update branch October 1, 2026 20:35
@vs-code-engineering vs-code-engineering Bot added this to the 1.141.0 milestone Oct 1, 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.

Agent Customizations: Keep row actions aligned when status indicators are shown

3 participants