Skip to content

Improve error messages in the Dependency List

What does this MR do?

This improves some messages being displayed on the dependencies list.

Two use cases were identified:

Dependency scanning not configured

When a project doesn't have dependency scanning configured, the Dependency List page shows an empty state, which is what we expect, but it's currently using a success (#1aaa55) button for the link to the documentation, when it should actually be an info (#1f78d1) button.

Before After
image image

No dependencies detected

Projects that have dependency scanning enabled but for which no dependencies were detected currently show a generic error message that we want to replace with an empty and a link to the supported languages and framework documentation.

Before After
image image

How to test this?

Dependency scanning not configured

In any project that doesn't have a dependency_scanning CI job setup, browse to Security & Compliance > Dependency List

No dependencies detected

In any project that has a dependency_scanning CI job setup (security-reports for example), browse to Security & Compliance > Dependency List

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Paul Gascou-Vaillancourt

Merge request reports