Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the getLegacyPanelId method in VizPanel #1053

Merged
merged 1 commit into from
Feb 13, 2025
Merged

Conversation

bfmatei
Copy link
Contributor

@bfmatei bfmatei commented Feb 13, 2025

Fix needed after grafana/grafana#99300 (rows refactor)

The getLegacyPanelId method was returning the id for the first part of the key in a clone chain.

This requires a way better fix as it was already clunky from the beginning (cloned panels are having keys like panel-X-clone-ABC where ABC is now the clone index while previously it was the variable value).

For the time being this is a hotfix to solve any active/potential incidents.

📦 Published PR as canary version: 6.0.2--canary.1053.13305029685.0

✨ Test out this PR locally via:

npm install @grafana/[email protected]
npm install @grafana/[email protected]
# or 
yarn add @grafana/[email protected]
yarn add @grafana/[email protected]

@bfmatei bfmatei added patch Increment the patch version when merged release Create a release when this pr is merged labels Feb 13, 2025
@bfmatei bfmatei self-assigned this Feb 13, 2025
@bfmatei bfmatei merged commit 48efacb into main Feb 13, 2025
5 checks passed
@bfmatei bfmatei deleted the bogdan/fix-panel-id branch February 13, 2025 16:06
@scenes-repo-bot-access-token
Copy link

🚀 PR was released in v6.0.2 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants