-
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
Explicit “Add Parameter” Button in Query Editor #2644
Comments
Here's the proposed design for this:
|
Some notes:
|
Maybe use an icon for the button instead of the long text (something like {{ }} maybe?)? While it will require some learning from the user, it will create a more streamlined UI.
I'm a bit concerned that {{ }} might look like something is broken on the interface :) The Keyword should be the first item in the form, the Title should come after and Type last. Title will be auto filled (with some manipulation to make it human readble) based on Keyword value.
|
Good point. Let's see how it looks like. We can also use the filter icon, but this means we need to deprecate the other filters functionality :)
For a Date Range you still define a single keyword, it just that it has two sub-keywords. I.e., you define |
I'm wondering if there's a nicer way to inform the user. I might improve the design of this modal, it doesn't look great. |
Let's continue with
👍 |
To be honest I don't think the {{ }} is better than the little icon. Especially if you end up using it on the widgets on dashboards. Let's discuss on a call. |
Add a button to the interface to add a parameter to the query. This button will open the current parameter definition dialog, but will let you also define the parameter keyword. Once submitted, it will add the
{{parameter}}
string into the query.{{keyword.start}}
and{{keyword.end}}
to get the start/end of the date range.The text was updated successfully, but these errors were encountered: