-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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: allow spaces in DB names #13800
fix: allow spaces in DB names #13800
Conversation
LOVE this! |
Codecov Report
@@ Coverage Diff @@
## master #13800 +/- ##
==========================================
- Coverage 77.47% 77.47% -0.01%
==========================================
Files 934 934
Lines 47224 47226 +2
Branches 5881 5892 +11
==========================================
- Hits 36588 36587 -1
- Misses 10492 10495 +3
Partials 144 144
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@junlincc Ephemeral environment spinning up at http://54.245.18.95:8080. Credentials are |
Ephemeral environment shutdown and build artifacts deleted. |
* master: (56 commits) test: Adds tests and storybook to CertifiedIcon component (#13457) chore: Moves CheckboxIcons to Checkbox folder (#13459) chore: Removes Popover duplication (#13462) build(deps): bump elliptic from 6.5.3 to 6.5.4 in /docs (#13527) fix: allow spaces in DB names (#13800) chore: Update PR template for SIP-59 DB migrations process (#13855) Add CODEOWNERS (#13759) feat(alerts & reports): Easier to read execution logs (#13752) fix: Disallows negative options remaining (#13749) Fix broken link (#13861) fix(native-filters): add global async query support to native filters (#13837) Displays row limit warning with Alert component (#13854) fix(errors): Downgrade error on stop query to a warning (#13826) fix(alerts and reports): Unify timestamp format on execution log view (#13718) fix(sqllab): warning message when rows limited (#13841) chore: add success log whenever a connection is working (#13811) fix(native-filters): improve loading styles for filter component (#13794) chore: update change log with cherry-picks for release 1.1 (#13824) feat: added support to configure the default explorer viz (#13610) fix(#13734): Properly escape special characters in CSV output (#13735) ...
SUMMARY
When adding a database, we currently
.trim()
its name oninputChange
, preventing users from typing spaces:trim_before.mov
With this fix, we trim only when validating, testing the connection, editing or creating:
trim_after.mov
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
See above.
TEST PLAN
See above.
ADDITIONAL INFORMATION