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

It should be optional to display the variable boxes in template queries in a dashboard #163

Closed
emtwo opened this issue Jul 26, 2017 · 3 comments
Assignees
Milestone

Comments

@emtwo
Copy link

emtwo commented Jul 26, 2017

First I will describe the use-case here. If I'm generating dashboards via the API, the templating mechanism is useful to me to set variables for a query given the data my redash client has. However, once I've set them and generated a dashboard, I don't want it to be possible for these to be easily changed and I don't want to have those text boxes in the dashboard.

I understand why they're there by default since templated queries in the UI are designed to be used this way. However it would be nice if there was an option to turn them off.

Steps to Reproduce

  1. Go to https://sql.telemetry.mozilla.org/dashboard/test_9

Expected Result: It should be possible to remove the variable boxes in a dashboard so that it's easier to read.
Actual Result: The variable boxes add clutter to the dashboard which makes the dashboard harder to read.

@alison985 alison985 added this to the 8 milestone Jul 28, 2017
@alison985 alison985 self-assigned this Jul 28, 2017
@alison985
Copy link

Okay, I made it so if you append hideParameters=true to the URL it will hide parameters in a dashboard.

Here's normal view:
Screenshot 2017-07-28 14.22.57.png

Here's with the extra parameter:
Screenshot 2017-07-28 16.26.35.png

@alison985
Copy link

PR #177

@alison985
Copy link

Verified fixed on staging based on PR comment: #177 (comment)

washort pushed a commit that referenced this issue Dec 12, 2017
washort pushed a commit that referenced this issue Dec 12, 2017
washort pushed a commit that referenced this issue Jan 8, 2018
washort pushed a commit that referenced this issue Jan 17, 2018
washort pushed a commit that referenced this issue Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants