Fix Security Policy Project modal refresh on infinite scroll
What does this MR do and why?
The code changes introduce a new component called spp_selector
that allows users to search and select projects. It displays a loading indicator while searching for projects and provides feedback when no results are found or the search query is too short. Additionally, it now supports infinite scrolling for loading more projects when the user reaches the bottom of the list.
And it fixes constant list refresh
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Description | UI |
---|---|
Infinite scrolling | laoding.mov |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to Project/Group
-
Secure
->Policies
- If you don't have enough project with common first 3 letters, please create 20+ projects
- Go to Policies, edit policy project on top right corner
- Type at least 3 letters in search and scroll to bottom
- List should stay visible and more projects appended to it after loading is finished
Related to #448593 (closed)