-
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
Poll for results in parameterized embeds #3752
Merged
Merged
Changes from 4 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ae33080
add an endpoint for fetching job using a query's api_key
92d3c31
when unauthenticated, use api_key to get job, and fetch the latest query
c16263c
add 'refresh dataset' button to parameters directive
2d4b5fa
Merge branch 'master' into poll-for-results-in-embeds
41b0d81
fix scope error introduced by earlier commit
5653bd4
show timer when refreshing results
bbc54e3
Show input for missing parameters in embedded visualizations (#3741)
1968b49
Merge branch 'master' into poll-for-results-in-embeds
740472b
don't render the execute button for each parameter
d8bf19d
Merge branch 'poll-for-results-in-embeds' of github.com:getredash/red…
7389725
show 'missing parameter value' error
7d7414f
Don't reload the whole page when parameter value changes.
arikfr 6651edf
Set API key and load config before rendering.
arikfr 9915d88
Add Query#hasParameters method.
arikfr 43e3abf
Don't show download controls for parameterized queries (they won't wo…
arikfr 70da22d
Use getUrl to construct a correct query link.
arikfr 7aa89dc
WIP: have a single way to load results
arikfr 9841373
Show persistent errors and finish loading logic.
arikfr b6620cb
Check if query is safe and show message otherwise.
arikfr 7ffd7eb
Fix test for unsafe parameters embed.
arikfr dadbe73
Merge branch 'master' into poll-for-results-in-embeds
13c4d45
Merge branch 'poll-for-results-in-embeds' of github.com:getredash/red…
55be3c6
wait for query results to return before taking snapshot
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering this just executes query refresh, why not put it outside the parameters component?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parameter directive's containing div is a block, so putting it outside would cause the button to drop below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 not ideal, but it's temporary, so YOLO... maybe add a comment for @gabrieldutra to remove this once he's done with #3737 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙄
hey, @gabrieldutra! remove this once you're done with #3737!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.