-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Use parameter values in query title #4383
Comments
I wanted to clarify: is this for the Query Title shown on a dashboard? Or for the query Name shown in the list view and when searching for queries while making an Alert, for example? |
I second @arikfr point here. Without this capability, parameters are basically useless in practice. @susodapop if your in-progress React implementation leaves you any spare time to work on stuff that delivers actual value to your users (aside from deleting users' posts in your Discourse support channel), this one is a must-have. Or, as an alternative, at least there needs to be a way to change a dashboard widget title. Without at least one of these solutions, we can't use parameters in queries that are intended for a dashboard (because the title won't be able to reflect them). |
We always try to balance between long term value projects like React migration or the Python 3 support and user facing features. While we would love to do only the later, for the long term maintainability of the project, we have to invest in less user facing projects too. While this specific feature is very important to your use case, it's actually not that common of a request and this is why it wasn't implemented so far. If you're interested to submit a pull request implementing this, let me know, and we can discuss possible implementation. Lastly, I don't see any deleted posts in Discourse: what are you referring to? |
Hello @arikfr thanks for the quick answer. I was saying the above because of a number of reasons:
Keep it up, but in my case I'm only using Redash because I don't have a choice. As soon as I get an access to the underlying db, I'll use a different solution. Software is just too limited as of today (one can't even customise the title of a widget, c'mon... I'm not even talking about the dashboard "text box" widget which is closer to a joke than to a feature) |
I second @JivanRoquet . I'm new to reDash and within the first couple of hours of trying it out, I wondered why the query name cannot be overwritten when adding it to a dashboard. |
Strong use case for me as well. I'm having to replicate queries over and over just to change the title for dashboards. Even an option where the query title can be overwritten on the widget level would suffice here. |
Having the same problem, @m-hiki illustrates this very well! |
Just started using redash and ran into same problem. I had to replicate one query into 4 different queries with different param value so that dashboard shows different name/title. Maybe adding a widget name that overrides query title in dashboard will help. Using widget name along with static param value will solve this for me. |
+1 that this is an important feature to have. |
@m-hiki provided the great example, thank you! I have the same cases, and would appreciate changes. I have some workarounds though:
so it's not perfect but help survive 😎 |
Given a query with parameter
{{x}}
if the title has{{x}}
in it, it will be replaced with the parameter value. If no value is provided, the parameter name will be shown (?).The text was updated successfully, but these errors were encountered: