Use PMM name during grafana preload phase

Description

Problem description

During the preload phase (when the JS isn’t loaded in yet), the browser table title is showing the Grafana name instead of the PMM one.

Steps to reproduce

  1. Open PMM

  2. Do a hard refresh of the page (should clear cache, refetch files from network)

  3. Observe the tab title, until the login page is visible it using the Grafana title

Suggested solution

Update the appTitle in pkg/api/index.go to use “Percona Monitoring and Management”.

How to test

FB:

QA to be done by Frontend Devs

How to document

None

Attachments

1

Activity

Show:

Matej Kubinec December 19, 2024 at 9:47 AM

Checked that the preload-load phase now shows PMM instead of grafana.

Done

Details

Assignee

Reporter

Priority

Components

Labels

Needs QA

Yes

Needs Doc

No

Planned Version/s

Fix versions

Story Points

Due date

Smart Checklist

Created October 18, 2024 at 7:54 AM
Updated January 31, 2025 at 2:47 PM
Resolved January 8, 2025 at 10:55 AM