-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Showing warning icon in packages list items when package version has one or more vulnerabilities #4161
Conversation
src/NuGet.Clients/NuGet.PackageManagement.UI/ViewModels/PackageItemViewModel.cs
Outdated
Show resolved
Hide resolved
...Clients/NuGet.PackageManagement.VisualStudio/Services/PackageSearchMetadataCacheItemEntry.cs
Outdated
Show resolved
Hide resolved
src/NuGet.Clients/NuGet.VisualStudio.Internal.Contracts/ContextInfos/VersionInfoContextInfo.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First pass...
src/NuGet.Clients/NuGet.VisualStudio.Internal.Contracts/ContextInfos/VersionInfoContextInfo.cs
Outdated
Show resolved
Hide resolved
...Clients/NuGet.PackageManagement.VisualStudio/Services/PackageSearchMetadataCacheItemEntry.cs
Outdated
Show resolved
Hide resolved
...s/NuGet.PackageManagement.VisualStudio.Test/Feeds/MultiSourcePackageMetadataProviderTests.cs
Show resolved
Hide resolved
...s/NuGet.PackageManagement.VisualStudio.Test/Feeds/MultiSourcePackageMetadataProviderTests.cs
Show resolved
Hide resolved
src/NuGet.Clients/NuGet.PackageManagement.UI/ViewModels/PackageItemViewModel.cs
Show resolved
Hide resolved
Can you add an UI screenshot showcasing your changes? Can you run an a11y test pass using https://accessibilityinsights.io/ to ensure not breaking any a11y guidelines? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments.
src/NuGet.Clients/NuGet.PackageManagement.UI/Xamls/PackageItemControl.xaml
Show resolved
Hide resolved
src/NuGet.Clients/NuGet.PackageManagement.UI/ViewModels/PackageItemViewModel.cs
Show resolved
Hide resolved
...ents/NuGet.PackageManagement.VisualStudio/PackageFeeds/MultiSourcePackageMetadataProvider.cs
Outdated
Show resolved
Hide resolved
Accessibility Insights was run and came up clean. |
@jebriede - In the screenshot, you have linked in https://github.com/NuGet/NuGet.Client/pull/4161/files#issuecomment-885871704 comment, I don't see a |
It's part of another issue: NuGet/Home#10982 |
@kartheekp-ms I also thought the tab warning icon should be shown, if I recall the spec correctly. Is this a bug or is it intentionally missing? |
I'm taking a look right now.
@donnie-msft please see #4161 (comment) |
@kartheekp-ms @dominoFire |
Bug
Fixes: NuGet/Home#10983
Regression? Last working version: N/A
Description
Added logic to package warning icon to show when package has vulnerabilities, added a tooltip to combine vulnerability and deprecation data when applicable, and added code to reload vulnerability data for package item view model.
PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation