-
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
add ability to add viz to dashboard from query page #2656
Conversation
pull upstream to my fork
pulling from upstream to SV fork
Hey @alison985 thanks for the PR, I like this idea. Can you please provide a screenshot about the new button placement + modal? |
@kocsmy The new button on the query page is the green + button here: |
Thanks for the screenshot, @alison985 — I'll propose something (hopefully) better place for this feature in a few days. |
hey @alison985 — I'd recommend using this area for the button, we have most of the visualisation related things here already: |
@kocsmy I like it a lot and have changed my code to do that instead. I do want to point out, on the off chance you didn't notice it, that on a 13" MacBook Air it takes up a good chunk of the last whitespace on the bottom of the page which points towards a future space issue. |
Good point about screen size, @alison985 . How about we add icons to these buttons and in small resolutions only use the icons? |
Works for me, in Font Awesome icons I propose:
|
@alison985 I think FA3 doesn't have plus-circle but icon-plus or icon-plus-sign will do. Others sounds good, too. Thank you! |
In light of mozilla#482, I just wanted to bring up the issue of whether unpublished queries can be added to dashboards from the query page. Not sure if it's been addressed yet here but it's worth being aware of. |
FYI I've opened #2727 to track the issue of the too strict Code Climate Analysis configuration. |
fixes #955
This PR ports the Mozilla functionality upstream.
I had to make a minor tweak to get it to run in the current redash code. I also added feedback to the user that the widget was added successfully which is not in Mozilla's branch.
Original PR with code review is here: mozilla#184