Skip to content

Remove unused code for vulnerability chart on pipeline security tab

What does this MR do?

On the pipeline details page, the security tab shows a list of vulnerabilities:

ksnip_20201124-090419

This MR removes a large swath of code for a vulnerability chart that's no longer used.

For some background, the vulnerability list is a shared component that's used in 4 separate places. Over the past year, we've been converting the vulnerability list from a Vuex implementation to one that uses GraphQL. The GraphQL version was written alongside the Vuex version so that we can switch things over piece by piece.

Currently, there's only one place remaining that still uses the Vuex implementation: the vulnerability list on the pipeline security tab. It has a bunch of code to show a vulnerability chart:

Screenshot_from_2020-11-24_09-11-18

but this is not used on the pipeline security tab and will never be used because we will eventually replace it with the GraphQL version.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Daniel Tian

Merge request reports