Add tabs to new environments page
What does this MR do and why?
The tabs select the scope of environments to show, and are synced to the URL query parameters.
Testing the tab selection is a little tricky due to the reactive poll interval, so if there is no interval, just skip polling.
This is also good in the event polling is disabled.
Screenshots or screen recordings
How to set up and validate locally
- Enable the new page
Feature.enable(:new_environments_table)
- Navigate to the environments page
- Play with the new tabs, examine the network tab, use the back button, etc.
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.
Edited by Andrew Fontaine