Improve view in Solution PM UI for Solution Explorer gold bar entry point#6803
Improve view in Solution PM UI for Solution Explorer gold bar entry point#6803
Conversation
…e Vulnerabilities filter on
donnie-msft
left a comment
There was a problem hiding this comment.
Code looks good. Would be nice to have a screenshot and to describe the validation a bit as well.
|
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? |
5438c97
@Frulfump thanks for the feedback! This PR was closed automatically by a bot. I've reopened it now with improved changes. :-) |
@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. |
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
Added testsLink 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:
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...