Skip to content

Add NuGet package icon to package details page

What does this MR do?

Issue: #36422 (closed)

This MR adds the display of any NuGet package icon to the package-title component on the package details page. This icon will only show for NuGet packages that contain icon metadata.

Note: This MR also includes some tidy up of the style rules and test selectors used in the package-title component.

Screenshots

NuGet Package with Icon NuGet Package without Icon Other Package
Screenshot_2020-06-03_at_10.37.29 Screenshot_2020-06-03_at_10.38.00 Screenshot_2020-06-03_at_10.38.12

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖

Merge request reports