Add infinite scrolling to vulnerability report project filter dropdown
This MR adds infinite scrolling to project filter dropdown on the vulnerability report. The filter is shown for the group-level and instance-level reports:
Group level | Instance level |
---|---|
How to verify
By default, the query will load 100 projects per page, and it will be difficult to create that many projects locally. Instead, create a group with 20-30 projects (empty projects are fine), then edit line 143 in ee/app/assets/javascripts/security_dashboard/components/shared/filters/project_filter.vue
and add pageSize: 5
:
Then go to the group vulnerability report and open the project filter dropdown.
Related to #356327 (closed)
Edited by Paul Gascou-Vaillancourt