Skip to content

Always display environment selector in Metrics dashboard

Reuben Pereira requested to merge 11164-always-display-environment-selector into master

What does this MR do?

Partly solves #11164 (closed)

https://gitlab.com/gitlab-org/gitlab-ee/issues/12146 also needs to be fixed to solve #11164 (closed).

This MR makes the environment selector visible on the metrics dashboard even when there is no data to be shown. This should allow the user to switch to a different environment's metrics dashboard.!

Before After
metrics_dashboard_no_data metrics_dashboard_no_data_with_selector

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading