-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Migrate component to TS: Tag #20086
Migrate component to TS: Tag #20086
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
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.
Hey @dhruvv173, I still need to do a full review but it looks like there are some snapshot and lining issues that need resolving?
Codecov Report
@@ Coverage Diff @@
## develop #20086 +/- ##
===========================================
- Coverage 69.36% 69.36% -0.00%
===========================================
Files 987 987
Lines 37289 37290 +1
Branches 10011 10012 +1
===========================================
- Hits 25864 25863 -1
- Misses 11425 11427 +2
|
addressed issues in the recent commit, passes all the tests. However, I think we'll also need a review from snaps engineer? |
Yes we will get someone from snaps to review |
Looking really good @dhruvv173! I committed my suggestions to your PR, so be sure to pull locally if you end up needing to do any changes. |
Yes, will do. Thank you so much for making the changes! |
/** | ||
* The label props of the component. Most Text component props can be used | ||
*/ | ||
labelProps?: TextProps<'span'>; |
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.
I suppose this is fine but would note that this prevents things like <Tag labelProps={{ as: 'p' }} />
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.
Left one comment, we may want to remove some of the styling on he Tag component in future so we can use the style utility props more
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! Thanks for your contribution @dhruvv173 and for supporting @garrettbear
thanks alot for assisting @garrettbear :) |
Explanation
Screenshots/Screencaps
Before
After
unit test coverage
Manual Testing Steps
Pre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.