Skip to content

Improve view in Solution PM UI for Solution Explorer gold bar entry point#6803

Merged
jebriede merged 2 commits intodevfrom
dev-jebriede-PMUIFromVulnGoldbar
Oct 14, 2025
Merged

Improve view in Solution PM UI for Solution Explorer gold bar entry point#6803
jebriede merged 2 commits intodevfrom
dev-jebriede-PMUIFromVulnGoldbar

Conversation

@jebriede
Copy link
Copy Markdown
Contributor

@jebriede jebriede commented Sep 24, 2025

Bug

Fixes: NuGet/Home#13050

Description

Open the Solution PM UI to the Installed tab with the Show Only Vulnerable packages filter checked when entering the PM UI from the gold bar in the Solution Explorer that warns of vulnerable packages in the solution.

To accomplish this, added launch options to the existing Solution PM UI command handler that supports opening the PM UI to a specific tab and with specific filters on, off, or with default values.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

Manual validation of scenario:
Clicking the Manage NuGet Package link in the Solution Explorer will take you to this view:
image

I verified that this view opens even when the Solution PM UI had not previously been opened and thus the extension hadn't been preloaded.

If the Solution PM UI is already open, clicking this link will switch to the Installed tab with the Show only vulnerable packages option checked.

Also, regression tested the menu item by right clicking the Solution -> Manage NuGet Packages for Solution... as well as Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution...

@jebriede jebriede requested a review from a team as a code owner September 24, 2025 17:48
@jebriede jebriede enabled auto-merge (squash) September 24, 2025 18:04
nkolev92
nkolev92 previously approved these changes Sep 24, 2025
Comment thread src/NuGet.Clients/NuGet.Tools/NuGetPackage.cs Outdated
Comment thread src/NuGet.Clients/NuGet.Tools/PackageManagerLaunchService.cs Outdated
Nigusu-Allehu
Nigusu-Allehu previously approved these changes Sep 24, 2025
@jebriede jebriede disabled auto-merge September 24, 2025 18:27
donnie-msft
donnie-msft previously approved these changes Sep 24, 2025
Copy link
Copy Markdown
Contributor

@donnie-msft donnie-msft left a comment

Choose a reason for hiding this comment

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

Code looks good. Would be nice to have a screenshot and to describe the validation a bit as well.

@jebriede jebriede marked this pull request as draft September 24, 2025 18:33
@dotnet-policy-service dotnet-policy-service Bot added the Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed label Oct 1, 2025
@Frulfump
Copy link
Copy Markdown

This was closed but I was really looking forward to some better UX/DevEx in this area, there was talk about things improving for VS 2026 is that still the case without this PR?

@dotnet-policy-service dotnet-policy-service Bot removed the Status:No recent activity PRs that have not had any recent activity and will be closed if the label is not removed label Oct 12, 2025
@jebriede jebriede reopened this Oct 13, 2025
@jebriede jebriede dismissed stale reviews from donnie-msft, Nigusu-Allehu, and nkolev92 via 5438c97 October 13, 2025 22:23
@jebriede jebriede changed the title Add new command to launch solution PM UI to the Installed Tab with the Vulnerabilities filter on Open Solution PM UI on Installed Tab with the Vulnerabilities filter on for Solution Explorer gold bar entry point Oct 13, 2025
@jebriede
Copy link
Copy Markdown
Contributor Author

This was closed but I was really looking forward to some better UX/DevEx in this area, there was talk about things improving for VS 2026 is that still the case without this PR?

@Frulfump thanks for the feedback! This PR was closed automatically by a bot. I've reopened it now with improved changes. :-)

@jebriede jebriede marked this pull request as ready for review October 13, 2025 22:33
@jebriede jebriede changed the title Open Solution PM UI on Installed Tab with the Vulnerabilities filter on for Solution Explorer gold bar entry point Improve view in Solution PM UI for Solution Explorer gold bar entry point Oct 13, 2025
@jebriede
Copy link
Copy Markdown
Contributor Author

Code looks good. Would be nice to have a screenshot and to describe the validation a bit as well.

@donnie-msft thanks! I've refactored the PR quite a bit and, in this iteration, I've added more details about the validation and a screenshot thanks to your suggestion.

@jebriede jebriede merged commit 90be422 into dev Oct 14, 2025
17 of 18 checks passed
@jebriede jebriede deleted the dev-jebriede-PMUIFromVulnGoldbar branch October 14, 2025 22:35
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.

"Manage NuGet Packages" in vulnerability gold bar could take you to a better PM UI view

6 participants