-
Notifications
You must be signed in to change notification settings - Fork 68
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 Query Builder FilterEditor on Alert Rules page #838
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the one comment left on #837, this looks good! Please rebase/merge main
on both branches and I'll be happy to merge them in!
updated 😎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you as always @SpencerTorres!
The merge-base changed after approval.
Fixes #828
Dropdown wasn't working because
filter.operator
was marked as readonly. I assume there's some magic going on within Grafana to where this code is interpreted differently on this page compared to the regular explore/dashboard view.It is a valid problem though, the current state was being mutated to generate the next state. Fixed by copying the filter and then modifying. Dropdown now works as expected on Alert Rules page.