Skip to content
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: add typescript types for BaseCard #3320

Conversation

brian-smith-tcril
Copy link
Contributor

Hopefully this does the trick for getting #3318 into .tsx land

Comment on lines +7 to 8
// @ts-ignore
import CardBody from './CardBody';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If people are happy with this implementation for BaseCard I'd be more than happy to update CardBody in a similar manner so we don't need this @ts-ignore here

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.85%. Comparing base (f3beb20) to head (f95bac1).
Report is 1 commits behind head on Peter_Kulko/remove-bootstrap-base-card.

Additional details and impacted files
@@                            Coverage Diff                             @@
##           Peter_Kulko/remove-bootstrap-base-card    #3320      +/-   ##
==========================================================================
+ Coverage                                   93.84%   93.85%   +0.01%     
==========================================================================
  Files                                         230      230              
  Lines                                        3849     3857       +8     
  Branches                                      927      899      -28     
==========================================================================
+ Hits                                         3612     3620       +8     
- Misses                                        230      233       +3     
+ Partials                                        7        4       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@brian-smith-tcril brian-smith-tcril force-pushed the basecard-typescript branch 3 times, most recently from 2a0f617 to d68b2ff Compare December 5, 2024 20:49
Copy link
Contributor

@PKulkoRaccoonGang PKulkoRaccoonGang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! I was embarrassed to rewrite this component on TS because I thought that in the future we would definitely want to rewrite the entire component at once :)

@PKulkoRaccoonGang PKulkoRaccoonGang merged commit 9965409 into openedx:Peter_Kulko/remove-bootstrap-base-card Dec 9, 2024
6 checks passed
@jciasenza
Copy link

Great Job !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants