-
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
chore: improve modal error handling #13342
chore: improve modal error handling #13342
Conversation
1a53687
to
a866218
Compare
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, just one nit
body: JSON.stringify(connection), | ||
headers: { 'Content-Type': 'application/json' }, |
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: you can use 'postPayload
with a js object, instead of body + json header
a866218
to
5a4dcc6
Compare
Codecov Report
@@ Coverage Diff @@
## master #13342 +/- ##
==========================================
- Coverage 77.35% 73.03% -4.33%
==========================================
Files 918 608 -310
Lines 46652 21644 -25008
Branches 5723 5640 -83
==========================================
- Hits 36087 15807 -20280
+ Misses 10429 5701 -4728
Partials 136 136
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
* improve modal error handling * update hook to handle string error message
SUMMARY
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
After:
Add Dataset Modal
https://www.loom.com/share/917e800b537045c6a06be429cfe8835e
Database Modal
https://www.loom.com/share/cfe90327bde649d186b66260bf0814c7
TEST PLAN
ADDITIONAL INFORMATION