-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Refresh query when parameters update #2316
Comments
I like the second option, I think that could work well. |
So here's my solution: Add an execute button (similar to Show Data Only mode bottom right "Play" icon), that stays disabled until you edit a parameter. Once you change any values, the button becomes active indicating that you need to click to re-execute the query. I think this would work nice because we don't need to add any 'debounce' or 'Pause execution' and should be quite intuitive. |
I think that once we add it, people will get used to using it to refresh the query. It will be confusing to have it disabled sometimes and enabled at other times. Maybe we can make it "glow" to indicate you need to click it? Also, how will the button be placed when you have multiple parameters? Maybe even having two lines of them? |
Ok, good point about the confusion, especially that in Data Only Mode we'll have the other execute button on the bottom right always enabled. I'm wondering why don't we just leave it there always enabled? I think it'd make total sense. I'm not sure if we need to add any extra indication... We'll just add it to the right of the last item. If there are multiple rows, it'll go after the last one. |
I think you had a good point about indicating to the user that they need to press it.
It might look confusing/ugly -- can you create a mockup of multiple parameters and another one with multiple rows? |
One more suggestion: when hitting Enter in an input box, it should apply the parameters changes. |
Is this issue addressed in the current version? |
@alisha17 usually we close issues that are already in master. If you're asking if it will be addressed in the current version, then probably not. Current version is soon to be released. It will probably make the cut into the next one. |
Implemented in #3737. 👌 |
Currently when you change parameter values the query doesn't update until you execute it again. This can be somewhat confusing, specially with dropdown parameters, where nothing happens after you pick a value.
The main reason for this was to avoid running a query before the user updated all the parameter values (in case there is more than one).
Some ideas for solutions:
debounce
(that resets when the user "touches" another parameter?) to let the user update other parameters before running the query.Any other ideas?
The text was updated successfully, but these errors were encountered: