-
Notifications
You must be signed in to change notification settings - Fork 14k
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: Enable new dataset creation flow II #22835
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
5c5e211
optimized setDatasets call
lyndsiWilliams e822b94
Remove console.log
lyndsiWilliams 9ec9c99
Create dataset polish/bug fix
lyndsiWilliams 7dc42ef
Make defaultPageSize a const and move emptyStateComponent into src/co…
lyndsiWilliams 2a42fda
Change all add dataset entrances to use new create page
lyndsiWilliams 047e25e
Cancel now redirects to the previous page
lyndsiWilliams fc65ffe
Create dataset returns user to dataset list
lyndsiWilliams 6538236
Delete AddDatasetModal
lyndsiWilliams 7e167c2
Fix tests
lyndsiWilliams d2fbc98
Use useHistory instead of window.location.href
lyndsiWilliams ee40bdb
Address Cody's review comments
lyndsiWilliams 64749a2
Add dangerToasts to error handling
lyndsiWilliams a31a141
Fix lint
lyndsiWilliams b03efda
Fix useEffect warnings and autosetting db from local storage, add tra…
lyndsiWilliams 00feed8
fix lint
lyndsiWilliams 3b0d32a
Add path back into error message
lyndsiWilliams c3673ec
Fix DatabaseModal test by mocking useHistory hook
lyndsiWilliams 585b915
Add table_name query to /chart/add/ redirect
lyndsiWilliams fbd2f2d
Change text on footer create button
lyndsiWilliams c31363e
Add filter by database ID to rison in queryParams
lyndsiWilliams de429a9
Remove user-selected db from local storage when db is deleted
lyndsiWilliams 211d8a1
Fix bugs
lyndsiWilliams dff5f07
Fix bug: Create dataset disabled in topnav + menu
lyndsiWilliams ee0f2f0
Better solution for top nav create dataset disabled bug
lyndsiWilliams 4bafc1a
Fix bug: already existing datasets are not marked as "already exists"…
lyndsiWilliams e80adab
Fix CREATE_DATASET_TEXT and tooltip in footer, add todo note to histo…
lyndsiWilliams 9fa7ccb
Merge branch 'master' into lyndsi/enable-dataset-creation-fixed
lyndsiWilliams fcf1546
Fix rebase
lyndsiWilliams bb94687
Fix LeftPanel test
lyndsiWilliams 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
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
Oops, something went wrong.
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.
Would you mind adding a
TODO
comment noting that this check and passinghistory
as a prop can be removed once SQL Lab is in the SPA, ashistory
will then be globally available? Assuming that describes the situation correctly.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.
Good idea! Added the comment in
this commit
.