-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[material-ui][SpeedDial] Deprecate TransitionComponent #40698
[material-ui][SpeedDial] Deprecate TransitionComponent #40698
Conversation
Netlify deploy previewSpeedDial: parsed: +2.51% , gzip: +2.34% Bundle size reportDetails of bundle changes (Toolpad) |
f7efb17
to
c1b8ed4
Compare
Sorry, I was away for holidays... I'll be picking this up over the coming two weeks. |
I wrote two utils that will make the codemods easier for this: #41685 It should be merged soon, I would recommend waiting for that 🙌🏼 |
Sure thing! I'll check it out when I get a chance 🤟 |
@harry-whorlow, #41685 was merged. You should be able to merge |
yo @DiegoAndai, hows it going man? I've got another one ready for code review. Enjoy the weekend! 🤟 |
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 @harry-whorlow! Thanks for working on this, here's my initial review
packages/mui-codemod/src/deprecations/speed-dial-props/test-cases/theme.actual.js
Outdated
Show resolved
Hide resolved
packages/mui-codemod/src/deprecations/speed-dial-props/speed-dial-props.js
Show resolved
Hide resolved
f34de3c
to
c4c8f24
Compare
@DiegoAndai morning man, the changes are made as requested.🤟 |
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 @harry-whorlow! Sorry for the late review, here's a couple more comments 😊
Also, let's mark this PR as ready for review, as we're already reviewing it.
packages/mui-codemod/src/deprecations/speed-dial-props/test-cases/actual.js
Outdated
Show resolved
Hide resolved
fc83d0b
to
6da354f
Compare
@DiegoAndai, comments resolved... Let me know if you have any more requests, enjoy the start to the week🤟 |
Signed-off-by: Harry Whorlow <[email protected]>
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! A couple more comments 😊
When you implement the changes, remember to run pnpm proptypes
and pnpm docs:api
to update the corresponding docs.
Good week to you too!
packages/mui-codemod/src/deprecations/speed-dial-props/test-cases/theme.actual.js
Outdated
Show resolved
Hide resolved
packages/mui-codemod/src/deprecations/speed-dial-props/test-cases/actual.js
Outdated
Show resolved
Hide resolved
@DiegoAndai coming at you with some fresh hot PR corrections.🤟 |
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 @harry-whorlow! here's a new review 😊
packages/mui-codemod/src/deprecations/speed-dial-props/test-cases/theme.expected.js
Outdated
Show resolved
Hide resolved
I just noticed your question:
Which tests are you referring to? |
@DiegoAndai, morning man! more revisions ready for review🤟 With regards to the question I would forget about it... I can't remember what it was about, plus it was made at the very start. Enjoy the weekend! |
Signed-off-by: Diego Andai <[email protected]>
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.
Nice work @harry-whorlow! I hope you're able to continue contributing to this effort 😊
Morning @DiegoAndai, thanks man! 🤟 I'll look at the task list Monday and pull out the next one, thanks for all the time spent reviewing the code and suggestions. |
Part of: #40417
@DiegoAndai here's my submission for the speedDial deprecation of TransitionComponent
Changes made to speedDial component
speedDial: Add deprecations for transition props and the slots API that should replace it.
speedDial: Updated prototypes and docs
Questions for reviewer
I see that this component has tests for the Fade transition should the Fade, in these tests, be passed in slots?