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

[Drawer] Migrate to emotion #25091

Merged
merged 10 commits into from
Mar 1, 2021
Merged

Conversation

natac13
Copy link
Contributor

@natac13 natac13 commented Feb 25, 2021

#24405

I have 4 test failing still....

First 2 I am not sure how they are related to Drawer

The second 2 I will try and work out. I am a little rusty with these conversions lol.

However, the code has been changed so a good start I think.

@oliviertassinari oliviertassinari added the component: drawer This is the name of the generic UI component, not the React module! label Feb 25, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Feb 25, 2021

@material-ui/core: parsed: +0.25% , gzip: +0.19%

Details of bundle changes

Generated by 🚫 dangerJS against bf9ac0b

@oliviertassinari oliviertassinari added the PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI label Feb 25, 2021
@povilass
Copy link
Contributor

Run yarn lint to fix a test with prettier and contribution file says it.

@povilass
Copy link
Contributor

povilass commented Feb 28, 2021

1 test (should render a div instead of a Modal when permanent) fix would be
image

What changed? your component docked was div and now it is a component with forwardRef wrapper DrawerDockedRoot. It finds 2 components with a selector because they both got the same class in properties which the second one if the correct one
image

@oliviertassinari oliviertassinari added new feature New feature or request and removed PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI labels Feb 28, 2021
As far as my experience go for this test: it has been a pain for in half the time. Solving it was mostly about writting the tests correctly, so no value.
@oliviertassinari oliviertassinari merged commit 8fa50d9 into mui:next Mar 1, 2021
@oliviertassinari
Copy link
Member

oliviertassinari commented Mar 1, 2021

Thanks! I went forward fixing the test cases rapidly. 31 pull requests, already 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: drawer This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants