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

QueryBuilder: Add support to disable operations #135

Merged
merged 2 commits into from
Nov 20, 2024
Merged

Conversation

matyax
Copy link
Contributor

@matyax matyax commented Nov 20, 2024

This PR adds Query Builder support to disable operations. In the operation definition, when it's marked with toggleable: true, it will show an icon in the editor to disable it.

Demo.mov

Part of grafana/grafana#63785

Copy link

@svennergr svennergr left a comment

Choose a reason for hiding this comment

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

Not the biggest fan of the transition that's also applied to opacity, but LGTM for now.

@matyax matyax merged commit fe11c1f into main Nov 20, 2024
2 checks passed
@matyax matyax deleted the matyax/disable-builder branch November 20, 2024 15:27
@matyax matyax restored the matyax/disable-builder branch November 20, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants