Loading
Use combined pagination in enable scanners wizard
What does this MR do and why?
Use combined pagination in enable scanners wizard
List only direct descendants in select projects step of the wizard
with subgroups first, then projects, in pages of 20 items
by reusing the sequential pagination from security inventory
Call profile application mutation with groupIds and projectIds
Add feature flag that controls which queries/pagination this usesReferences
- issue: [Frontend] Enable scanners wizard: Select proje... (#602374)
- feature flag rollout issue: [FF] `combined_pagination_in_scanner_wizard` --... (#605583)
- epic: [Security Contols] Scanner Enablement Wizard (gitlab-org#21299)
- related issue for introducing this combined pagination and using it in security inventory: [Frontend] Combine more than one type of item i... (#591670)
Screenshots or screen recordings
How to set up and validate locally
git checkout 602374-use-combined-pagination-in-wizard-select-projects-step
echo "Feature.enable(:combined_pagination_in_scanner_wizard)" | gdk rails c- go to a group that has at least one subgroup =>
Secure=>Security configuration - click
Enable scannersin the upper right corner to go to the wizard - click the card
Advanced setup, thenStart advanced setupto get to the selection step - subgroups that are in the group should show as selectable items in the list - select some
- click
Select scannersto continue, select at least one scanner, then clickReview configuration - the subgroups you selected should appear in the
Itemscard - click
Apply configuration - the mutation should be called with the
groupIdsof the selected subgroups
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #602374
Edited by Miranda Fluharty




