Skip to content

Fix-pmm-14971#5317

Draft
theTibi wants to merge 3 commits into
v3from
fix-pmm-14971
Draft

Fix-pmm-14971#5317
theTibi wants to merge 3 commits into
v3from
fix-pmm-14971

Conversation

@theTibi
Copy link
Copy Markdown
Contributor

@theTibi theTibi commented May 4, 2026

fix(ui): full-page Grafana login without PMM shell (PMM-14971)
When the iframe session expires (e.g. after password change), Grafana posts
LOCATION_CHANGE to /graph/login. SPA navigate kept MainWithNav, so the
sidebar stayed visible next to the login form.

Use a top-level document navigation to /pmm-ui/graph/login and a dedicated
route that renders only the Grafana iframe (no sidebar/header). Harden
getLocationUrl so Grafana paths already under /graph are not doubled.

  • API Docs updated

If this PR is related to other PRs, contributions, or ongoing work in this or other repositories, please reference them here:

  • Links to related work items (optional).

theTibi added 3 commits May 4, 2026 14:10
When the iframe session expires (e.g. after password change), Grafana posts
LOCATION_CHANGE to /graph/login. SPA navigate kept MainWithNav, so the
sidebar stayed visible next to the login form.

Use a top-level document navigation to /pmm-ui/graph/login and a dedicated
route that renders only the Grafana iframe (no sidebar/header). Harden
getLocationUrl so Grafana paths already under /graph are not doubled.

Tests: vitest for getLocationUrl and isGrafanaLoginPath.
Co-authored-by: Cursor <cursoragent@cursor.com>

Signed-off-by: theTibi <tkorocz@gmail.com>
Avoids a barrel cycle (pages/grafana index exporting both components).

Co-authored-by: Cursor <cursoragent@cursor.com>

Signed-off-by: theTibi <tkorocz@gmail.com>
React Router Path has no 'key'; strict build failed in ui#build.

Co-authored-by: Cursor <cursoragent@cursor.com>

Signed-off-by: theTibi <tkorocz@gmail.com>
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@ondrejpatocka ondrejpatocka added the author:ai-agent Standalone AI agent contribution label May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author:ai-agent Standalone AI agent contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants