-
Notifications
You must be signed in to change notification settings - Fork 14k
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
refactor: Bootstrap to AntD - Form - iteration 1 #14106
refactor: Bootstrap to AntD - Form - iteration 1 #14106
Conversation
Codecov Report
@@ Coverage Diff @@
## master #14106 +/- ##
==========================================
- Coverage 77.18% 77.01% -0.17%
==========================================
Files 954 954
Lines 48134 48068 -66
Branches 5985 5972 -13
==========================================
- Hits 37151 37021 -130
- Misses 10786 10850 +64
Partials 197 197
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
9f44b56
to
49a947f
Compare
/testenv up |
@pkdotson Ephemeral environment spinning up at http://34.215.31.89:8080. Credentials are |
superset-frontend/src/explore/components/controls/VizTypeControl.jsx
Outdated
Show resolved
Hide resolved
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.
Other than the row and col comments it looks good to go!
49a947f
to
cbd3480
Compare
@@ -119,7 +120,7 @@ const VizTypeControl = props => { | |||
|
|||
useEffect(() => { | |||
if (showModal) { | |||
searchRef?.current?.focus(); | |||
setTimeout(() => searchRef?.current?.focus(), 200); |
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.
Curious about the need for the timeout, and if the 200 is based on anything (e.g. some transition timing) or if it's just a guess at some loading/drawing/mounting time.
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.
BUT... this fixes the auto-focusing of the input when the modal opens, and I LOVE it.
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.
vazco/uniforms#279
The 200 is a common value found in other places of the application for rendering purposes.
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.
Curious about one line, but in practice that line fixes something that's been bothering me. So I double-love this PR.
Just needs a rebase, and I'll merge this sucker! |
cbd3480
to
0ce5f5b
Compare
Ephemeral environment shutdown and build artifacts deleted. |
SUMMARY
Form
components from Bootstrap to AntD (iteration 1)See: #10254
@rusackas @junlincc @pkdotson
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
1 - Access the touched components
2 - Check that the layouts and functionality are working
ADDITIONAL INFORMATION