-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
fix: change database database selector #18609
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18609 +/- ##
=======================================
Coverage 66.30% 66.30%
=======================================
Files 1595 1595
Lines 62632 62632
Branches 6309 6309
=======================================
Hits 41529 41529
Misses 19453 19453
Partials 1650 1650
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@geido Ephemeral environment spinning up at http://34.218.240.141:8080. Credentials are |
Ephemeral environment shutdown and build artifacts deleted. |
🏷 preset:2022.5 |
* fix: change database selector * fix lint (cherry picked from commit 9c08bc0)
* fix: change database selector * fix lint
dispatch({ | ||
type: QUERY_EDITOR_SET_SCHEMA, | ||
queryEditor: queryEditor || {}, | ||
schema: schema || {}, |
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.
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.
@john-bodley you're right - here's the fix: #19664 (caught during testing of 1.5)
SUMMARY
This pr fixes and issue where the database selector show an error toast when changing database. The issue come about when the params are undefined causing a method to error out.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
before
CleanShot.2022-02-07.at.14.11.58.mp4
after
Screen.Recording.2022-02-07.at.6.28.22.PM.mov
TESTING INSTRUCTIONS
Go to sqlab and click on database selector. It should not give you an error toast when changing database.
ADDITIONAL INFORMATION