-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
chore: simplify error messaging in database modal #19165
Conversation
/testenv up |
@pkdotson Ephemeral environment spinning up at http://52.24.255.86:8080. Credentials are |
…hore-dbconnmodal-errormsg
…hore-dbconnmodal-errormsg
Codecov Report
@@ Coverage Diff @@
## master #19165 +/- ##
==========================================
- Coverage 66.54% 66.36% -0.19%
==========================================
Files 1692 1691 -1
Lines 64807 64778 -29
Branches 6661 6651 -10
==========================================
- Hits 43129 42991 -138
- Misses 19978 20087 +109
Partials 1700 1700
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
…hore-dbconnmodal-errormsg
Ephemeral environment shutdown and build artifacts deleted. |
/testenv up |
1 similar comment
/testenv up |
@pkdotson Ephemeral environment spinning up at http://54.200.93.201:8080. Credentials are |
@yousoph Ephemeral environment spinning up at http://34.221.20.109:8080. Credentials are |
@@ -34,7 +34,6 @@ export const TableCatalog = ({ | |||
}: FieldPropTypes) => { | |||
const tableCatalog = db?.catalog || []; | |||
const catalogError = validationErrors || {}; | |||
|
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.
nit: Could we add this space back since it is the only change in this file.
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.
yep
…hore-dbconnmodal-errormsg
…hore-dbconnmodal-errormsg
…hore-dbconnmodal-errormsg
…hore-dbconnmodal-errormsg
…hore-dbconnmodal-errormsg
…hore-dbconnmodal-errormsg
/testenv up |
@yousoph Ephemeral environment spinning up at http://35.164.153.181:8080. Credentials are |
…hore-dbconnmodal-errormsg
Ephemeral environment shutdown and build artifacts deleted. |
* testing for dbconn modal error message * remove consoles and error alert mapping * lint fix * update url message * add modal fix * update comments * fix err msg bugs * fix pylint * fix line * fix tests * fix assertions
* testing for dbconn modal error message * remove consoles and error alert mapping * lint fix * update url message * add modal fix * update comments * fix err msg bugs * fix pylint * fix line * fix tests * fix assertions
SUMMARY
This pr removes the error alert popup in the database modal when the inline message and dberror are the same. This pr also fixes a bug where user can connect to db without name and or uri.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
Go to database modal for googlesheet and try to create error mesages by either not including the name or correct uri.
ADDITIONAL INFORMATION