Skip to content

Conversation

@JamesNK
Copy link
Member

@JamesNK JamesNK commented Oct 29, 2025

As requested, display VS Code tab first in the MCP dialog:

image

@JamesNK JamesNK requested a review from davidfowl October 29, 2025 00:59
Copilot AI review requested due to automatic review settings October 29, 2025 00:59
@github-actions
Copy link
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 12467

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 12467"

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 reorders the tabs in the MCP Server Dialog to display VS Code first, followed by Visual Studio. The change affects both the UI markup and the corresponding enum definition to maintain consistency.

Key Changes:

  • Reordered McpToolView enum values to list VSCode before VisualStudio
  • Moved the Visual Studio tab markup to appear after the VS Code tab in the dialog

Reviewed Changes

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

File Description
src/Aspire.Dashboard/Components/Dialogs/McpServerDialog.razor.cs Reordered enum values to match new tab order (VSCode, VisualStudio, Other)
src/Aspire.Dashboard/Components/Dialogs/McpServerDialog.razor Moved Visual Studio tab markup from first position to second position, after VS Code tab

@JamesNK JamesNK merged commit cb79674 into main Oct 29, 2025
302 of 303 checks passed
@JamesNK JamesNK deleted the jamesnk/dashboardmcp-vscode-first branch October 29, 2025 02:44
@dotnet-policy-service dotnet-policy-service bot added this to the 13.0 milestone Oct 29, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Nov 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants