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

Variables: Fixes issue with url sync and key value variables #639

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

torkelo
Copy link
Member

@torkelo torkelo commented Mar 11, 2024

#632 introduced a minor issue with key value variables.

Because we skipped validation and always use the value provided via URL this also skipped the lookup of the text representation (when it can be found). So key value variables with valid values lost their text representation value after a full page reload.

📦 Published PR as canary version: 3.10.1--canary.639.8230721384.0

✨ Test out this PR locally via:

npm install @grafana/scenes@3.10.1--canary.639.8230721384.0
# or 
yarn add @grafana/scenes@3.10.1--canary.639.8230721384.0

@torkelo torkelo added patch Increment the patch version when merged release Create a release when this pr is merged labels Mar 11, 2024
@torkelo torkelo merged commit 33784fe into main Mar 11, 2024
3 checks passed
@torkelo torkelo deleted the fix-key-value-variable-url-sync branch March 11, 2024 10:16
@grafanabot
Copy link
Contributor

🚀 PR was released in v3.10.1 🚀

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.

None yet

3 participants