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

DashboardScene: Fixes issue with panel edit options pane and data #87161

Merged
merged 1 commit into from
May 1, 2024

Conversation

torkelo
Copy link
Member

@torkelo torkelo commented May 1, 2024

Fixes #87134

When I moved back the data to panel level I forgot to move this call to get data scoped from panel, so the panel option editors (And canvas option editor) got the global annotation queries instead.

@torkelo torkelo requested a review from a team as a code owner May 1, 2024 05:48
@torkelo torkelo requested review from ivanortegaalba and Sergej-Vlasov and removed request for a team May 1, 2024 05:48
@torkelo torkelo added type/bug product-approved Pull requests that are approved by product/managers and are allowed to be backported backport v11.0.x Mark PR for automatic backport to v11.0.x labels May 1, 2024
@torkelo torkelo added this to the 11.1.x milestone May 1, 2024
Copy link
Contributor

This PR must be merged before a backport PR will be created.

2 similar comments
Copy link
Contributor

This PR must be merged before a backport PR will be created.

Copy link
Contributor

This PR must be merged before a backport PR will be created.

@axelavargas axelavargas added the no-changelog Skip including change in changelog/release notes label May 1, 2024
Copy link
Contributor

@Sergej-Vlasov Sergej-Vlasov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Works locally and scenes e2e tests pass! 👍

Copy link
Member

@axelavargas axelavargas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏅 The code looks good to me. I also gave it a quick test locally, it works as expected.

P.S. We need to add unit tests to this component (it does not need to be in this PR as the e2e POC (#84598) was the one that found the error)

@torkelo torkelo merged commit 7a5c17d into main May 1, 2024
32 checks passed
@torkelo torkelo deleted the scene-fix-panel-edit-options-data branch May 1, 2024 09:17
grafana-delivery-bot bot pushed a commit that referenced this pull request May 1, 2024
torkelo added a commit that referenced this pull request May 1, 2024
…d data (#87165)

DashboardScene: Fixes issue with panel edit options pane and data (#87161)

(cherry picked from commit 7a5c17d)

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend backport v11.0.x Mark PR for automatic backport to v11.0.x no-changelog Skip including change in changelog/release notes product-approved Pull requests that are approved by product/managers and are allowed to be backported type/bug
Projects
Status: 🚀 Done
Development

Successfully merging this pull request may close these issues.

Selecting XY Chart when adding visualisation breaks the app
4 participants