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

VizPanel: Fixes issue updating instanceState #702

Merged
merged 3 commits into from
Apr 23, 2024
Merged

Conversation

torkelo
Copy link
Member

@torkelo torkelo commented Apr 22, 2024

Trying to fix grafana/grafana#86554

Also changing / skipping using instanceState for legacyPanelId as this is a bit problematic as this state is really reserved to only be used by the panel plugin so for Grafana to use it causes issues (we have to make sure we preserve legacyPanelId when we handle onInstanceStateChange.

I am tempted to just add legacyPanelId to VizPanel state (instead of parsing it from key) but not sure.

📦 Published PR as canary version: 4.12.0--canary.702.8784713837.0

✨ Test out this PR locally via:

npm install @grafana/scenes@4.12.0--canary.702.8784713837.0
# or 
yarn add @grafana/scenes@4.12.0--canary.702.8784713837.0

@torkelo torkelo added release Create a release when this pr is merged minor Increment the minor version when merged labels Apr 22, 2024
@mdvictor mdvictor self-requested a review April 22, 2024 14:38
Copy link
Contributor

@mdvictor mdvictor left a comment

Choose a reason for hiding this comment

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

LGTM!

@torkelo torkelo merged commit 0228235 into main Apr 23, 2024
3 checks passed
@torkelo torkelo deleted the fix-instance-state-issue branch April 23, 2024 06:33
@grafanabot
Copy link
Contributor

🚀 PR was released in v4.12.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor 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.

Scenes: Missing connection points in Canvas
3 participants