Add "Load more" button to environment dropdown
What does this MR do and why?
Add "Load more" button to environment dropdown
- previously the dropdown would load all environments
- limit the number of environments loaded and add a button to explicitely load more
- consolidate Vuex logic into one file
- create new Vuex state to track environments status
- update tests (I did get a little carried away with updating the tests, but they all look a lot better now)
How to set up and validate locally
- Upload a GitLab Ultimate license
- Navigate to a project with
Security & Compliance
enabled - Create some environments in
Infastructure
=>Environments
- Navigate to
Security & Compliage
=>Policies
- Verify the
Environment
filter - Click the
New Policy
button - Verify the
Environment
filter on thePolicy Editor
page - Navigate to
Security & Compliage
=>Threat Monitoring
=>Statistics
tab - Use this snippet to create some data
- Verify the
Environment
filter on thePolicy Editor
page
Screenshots or screen recordings
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #340339 (closed)
Edited by Alexander Turinske