Metrics drop down doesn't show all environment, some not clickable
The metrics dropdown added in 11.1 has a couple issues it seems.
First, it shows environments that don't have any deployments in the dropdown, however they aren't clickable which is confusing. We should make them clickable to be transparent, but show the corresponding empty state.
Second, there seems to be a bug with showing environments in folders like review apps. It seems to show just one of these environments, and not all.
Both of these issues can be seen in the https://gitlab.com/charts/gitlab/ project.
Edited by Joshua Lambert