-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
chore: migrate HiddenControl component from jsx to tsx #17315
chore: migrate HiddenControl component from jsx to tsx #17315
Conversation
@etr2460 Ptal, thanks! |
superset-frontend/src/explore/components/controls/HiddenControl.tsx
Outdated
Show resolved
Hide resolved
…l.tsx Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
@Damans227 looks like there's a couple lint issues here. I'd recommend running |
@etr2460 Looks like there is a type mismatch:
If I change the type of value in the interface to |
that sounds good to me |
Codecov Report
@@ Coverage Diff @@
## master #17315 +/- ##
=======================================
Coverage 77.08% 77.09%
=======================================
Files 1037 1037
Lines 55647 55644 -3
Branches 7608 7609 +1
=======================================
Hits 42898 42898
+ Misses 12499 12496 -3
Partials 250 250
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
superset-frontend/src/explore/components/controls/HiddenControl.tsx
Outdated
Show resolved
Hide resolved
@etr2460 Ephemeral environment spinning up at http://54.191.46.36:8080. Credentials are |
…l.tsx Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
@etr2460 Looks ok to me. |
Ephemeral environment shutdown and build artifacts deleted. |
* migrate HiddenControl component from jsx to tsx * Update superset-frontend/src/explore/components/controls/HiddenControl.tsx Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> * updating the type of value in the interface * Update superset-frontend/src/explore/components/controls/HiddenControl.tsx Co-authored-by: Erik Ritter <erik.ritter@airbnb.com> Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
SUMMARY
PR for migrating
HiddenControl
functional react component from JSX to TSXBEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION