Skip to content

Add toggle to show/hide dismissed vulnerabilities

What does this MR do?

This adds a Hide dismissed toggle next to the filters in the security dashboard. This toggle lets users show or hide previously dismissed vulnerabilities. The toggle is enabled by default, which means that users will need to manually disable it in order to see dismissed vulnerabilities.

Screen_Shot_2019-08-26_at_4.44.53_PM

What does it look like?

Toggle behaviour

When the toggle is switched on or off, the vulnerabilities list is updated and an URL parameter is kept in sync with the toggle's state.

toggle_behaviour

Responsiveness

Here's what it looks like on all viewport sizes:

toggle_responsive

note: As of writing this, backend filter isn't fully implemented yet, which explains why the vulnerabilities don't change along with the toggle's state in the video.

Does this MR meet the acceptance criteria?

Conformity

Edited by Paul Gascou-Vaillancourt

Merge request reports