-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
feat(SqlLab): Change Save Dataset Button to Split Save Query Button II #20570
Closed
lyndsiWilliams
wants to merge
90
commits into
apache:master
from
preset-io:lyndsi/sql-lab-new-explore-button-functionality-and-move-save-dataset-to-split-save-button
Closed
Conversation
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
> columns are loading into page
…ype is Query [41493] Initial commit to add ability for the a Query Preview Modal to be available when the data source type is Query and not Dataset Converted ModalTrigger to a functional TypeScript component
> allow for all records to be displayed > fix select with all columns queries > filters are now working
…hart-power-query
…pes from DatasourceTypes options
…/query-preview-modal-for-chart-source-query
…hart-power-query
…view-modal-for-chart-source-query feat: Ericbriscoe/sc 41493/query preview modal for chart source query
… SqlLab and Explore
…set, adds default metric when chart source is query
… datasource A follow on separate effort will enable having a default Count metric when Query is the datasource type
fix: Move chart samples to explore resource endpoint
lyndsiWilliams
force-pushed
the
lyndsi/sql-lab-new-explore-button-functionality-and-move-save-dataset-to-split-save-button
branch
from
July 11, 2022 16:01
21455d5
to
cd89138
Compare
Continued in this PR: #20852 |
Ephemeral environment shutdown and build artifacts deleted. |
lyndsiWilliams
deleted the
lyndsi/sql-lab-new-explore-button-functionality-and-move-save-dataset-to-split-save-button
branch
July 28, 2022 20:19
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
SUMMARY
This changes the current save query button into a split save button if the database has "Allow this database to be explored" enabled. When the user clicks the caret section of the button, they can now save the query as a dataset.
Bonus
: In order to create this button, I conveniently needed to fix the styling on the "Run" query split button. The split line now goes all the way through the button and the caret is centered.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
BEFORE:
AFTER:
TESTING INSTRUCTIONS
v
section of the button, then click "Save dataset" to see the save dataset modalADDITIONAL INFORMATION