Integrate with new environments API
What does this MR do?
This is the first of several merge requests to add pagination and a new subview for environments. In order to make it easier to review the work will be divided in 3 different Merge Requests:
-
1. Adapt to new API response - !8954 (merged) -
2. Add Pagination - !9090 (merged) -
3. Add the subview to show the content of a folder !9169 (merged)
This is the Merge Request for 1. Adapt to new API response
With the new API response the folders and the counters are now calculated in the backend:
- Removes environments calculations to have the counts of available and stopped environments
- Removes filtered environments function to transform into a folder structure
- Removes recursive table row rendering - the first iteration of new UX does not show an open folder with children environments
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together