Skip to content

Show loading state for vulnerability list when filter/sort is changed

Daniel Tian requested to merge 320885-show-loading-for-vulnerability-list into master

What does this MR do?

There are 3 places where a vulnerability report is shown; for a project, for a group, and across the entire GitLab instance:

Project-level Group-level Instance-level
ksnip_20210114-020743 ksnip_20210114-020829 ksnip_20210114-021043

For each report, the list can be filtered and sorted. Previously, when the filter and sort were used, the list would continue showing old data until the request for new data was completed. On slower connections and for larger projects, this will make it seem nothing is happening when the request is actually still in process in the background:

This MR fixes it by showing the skeleton loader for the list whenever the filters or sort is changed:

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #320885 (closed)

Edited by Daniel Tian

Merge request reports