-
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: database modal crashed when use SQLAlchemy URI string #21342
Conversation
…pache#20095) * fix(database): make to display validation error msg when all cases * fix(db): make to update the alert error condition * fix(db): make to add error detail display * fix(db): make to update error alert display by superset error style guide. * fix(db): make to style modal header title with h4 * fix(db): make to place see more on bottom instead of top * fix(db): make to fix shortly * fix(db): make to fix lint issue Co-authored-by: Evan Rusackas <evan@preset.io>
description={t(alertErrors[0])} | ||
subtitle={t(validationErrors?.description)} | ||
copyText={t(validationErrors?.description)} | ||
description={alertErrors[0]} | ||
subtitle={validationErrors?.description} | ||
copyText={validationErrors?.description} |
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 error message should translate on the backend.
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #21342 +/- ##
==========================================
+ Coverage 66.45% 66.55% +0.09%
==========================================
Files 1789 1790 +1
Lines 68291 68316 +25
Branches 7273 7281 +8
==========================================
+ Hits 45382 45466 +84
+ Misses 21034 20973 -61
- Partials 1875 1877 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
SUMMARY
This PR intend to fix an issue from a previous #20095 raised and the PR has reverted by #21277.
Compared with the original PR, only 1 commit has been added. This issue is caused by the translation key cannot find.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION