Skip to content

Add tabs to new environments page

Andrew Fontaine requested to merge afontaine/new-environments-app-tabs into master

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

image

How to set up and validate locally

  1. Enable the new page Feature.enable(:new_environments_table)
  2. Navigate to the environments page
  3. 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.

Edited by Andrew Fontaine

Merge request reports

Loading