Skip to content

Change the title of the metrics dashboard page

Reuben Pereira requested to merge 214281-modify-dashboard-title into master

What does this MR do?

Add the name of the dashboard to the <title>.

Eg. if a dashboard is named sla.yml, for a first iteration and improving this aspect, we can name the <title> sla.yml · Metrics Dashboard · <name of environment> · <namespace> / <project name> · GitLab.

The default dashboard will display the text default dashboard instead of the filename used for the other dashboards.

Dashboard type Before After
Default Metrics for environment · <name of environment> · <namespace> / <project name> · GitLab Default dashboard · Metrics Dashboard · <name of environment> · <namespace> / <project name> · GitLab
Custom Metrics for environment · <name of environment> · <namespace> / <project name> · GitLab fileName.yml · Metrics Dashboard · <name of environment> · <namespace> / <project name> · GitLab

Issue: #214281 (closed)

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability 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
Edited by 🤖 GitLab Bot 🤖

Merge request reports