Skip to content

Fix inconsistent status ordering

Lorenz van Herwaarden requested to merge fix-inconsistent-status-ordering into master

What does this MR do and why?

It makes sure that the set status dropdown in the selection summary and the status dropdown on the vulnerability details page both have the same status ordering as the status filter on the vulnerability report page.

Screenshots or screen recordings

Status filter on vulnerability report page

Screenshot_2023-01-30_at_08.50.19

UI before after
Vulnerability report page Screenshot_2023-01-30_at_08.35.26 Screenshot_2023-01-30_at_08.36.03
Vulnerability details page Screenshot_2023-01-30_at_08.35.43 Screenshot_2023-01-30_at_08.36.09

How to set up and validate locally

  1. You need an EE license

Steps

Vulnerability report page

  1. Go to Flightjs repository
  2. Go to the vulnerability report page
  3. Select one or more vulnerabilities
  4. Click set status dropdown and verify the correct ordering (Confirm is before dismiss)

Vulnerability details page

  1. Go to Flightjs repository
  2. Go to the vulnerability report page
  3. Click on any vulnerability
  4. Click status dropdown and verify the correct ordering (Confirm is before dismiss)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

\

Closes #331688 (closed)

Edited by Lorenz van Herwaarden

Merge request reports

Loading