material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[material-ui][SpeedDial] Deprecate TransitionComponent

Open harry-whorlow opened this issue 1 year ago • 10 comments

Part of: https://github.com/mui/material-ui/issues/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?

harry-whorlow avatar Jan 20 '24 08:01 harry-whorlow

Netlify deploy preview

SpeedDial: parsed: +2.51% , gzip: +2.34%

Bundle size report

Details of bundle changes (Toolpad) Details of bundle changes

Generated by :no_entry_sign: dangerJS against 727c7901f1ce4a154a6a50045a20581a82fee76d

mui-bot avatar Jan 20 '24 08:01 mui-bot

Sorry, I was away for holidays... I'll be picking this up over the coming two weeks.

harry-whorlow avatar Apr 08 '24 11:04 harry-whorlow

I wrote two utils that will make the codemods easier for this: https://github.com/mui/material-ui/pull/41685

It should be merged soon, I would recommend waiting for that 🙌🏼

DiegoAndai avatar Apr 09 '24 20:04 DiegoAndai

Sure thing! I'll check it out when I get a chance 🤟

harry-whorlow avatar Apr 09 '24 20:04 harry-whorlow

@harry-whorlow, https://github.com/mui/material-ui/pull/41685 was merged. You should be able to merge next into your branch and use the new util so the codemod is easier to implement.

DiegoAndai avatar Apr 10 '24 13:04 DiegoAndai

yo @DiegoAndai, hows it going man? I've got another one ready for code review.

Enjoy the weekend! 🤟

harry-whorlow avatar Apr 12 '24 13:04 harry-whorlow

@DiegoAndai morning man, the changes are made as requested.🤟

harry-whorlow avatar Apr 17 '24 06:04 harry-whorlow

@DiegoAndai, comments resolved... Let me know if you have any more requests, enjoy the start to the week🤟

harry-whorlow avatar Apr 29 '24 19:04 harry-whorlow

@DiegoAndai coming at you with some fresh hot PR corrections.🤟

harry-whorlow avatar Apr 30 '24 21:04 harry-whorlow

I just noticed your question:

I see that this component has tests for the Fade transition should the Fade, in these tests, be passed in slots?

Which tests are you referring to?

DiegoAndai avatar May 02 '24 17:05 DiegoAndai

@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!

harry-whorlow avatar May 03 '24 08:05 harry-whorlow

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.

harry-whorlow avatar May 04 '24 09:05 harry-whorlow