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

[docs] Fix broken Joy UI codesandbox export #34007

Merged
merged 1 commit into from Aug 22, 2022

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Aug 20, 2022

I was looking into a bug in https://mui.com/joy-ui/react-text-field/, I wanted to create a reproduction with codesandbox, so I went searching for the first button that I could click on. The first one opened https://codesandbox.io/s/30i7kf?file=/demo.tsx which crashed:

Screenshot 2022-08-21 at 01 35 54

=> friction. I don't have the time to check if there are other broken demos like this in the docs of Joy UI. I wouldn't be surprised if there are more to fix.

Regarding the crash itself, I think that it's the expected behavior. The component the demo tries to import is internal to our docs.

Preview: https://deploy-preview-34007--material-ui.netlify.app/joy-ui/react-text-field/#introduction

I was looking into a bug in https://mui.com/joy-ui/react-text-field/, so wanted to export a codesandbox with the first button that I could click on.
The first one opened https://codesandbox.io/s/30i7kf?file=/demo.tsx which crash




Signed-off-by: Olivier Tassinari <olivier.tassinari@gmail.com>
@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation component: text field This is the name of the generic UI component, not the React module! package: joy-ui Specific to @mui/joy labels Aug 20, 2022
@mui-bot
Copy link

mui-bot commented Aug 20, 2022

No bundle size changes

Generated by 🚫 dangerJS against d07f62c

Copy link
Contributor

@danilo-leal danilo-leal left a comment

Choose a reason for hiding this comment

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

Thanks! I'll do a pass on all the demos to see if there are more like this that we can fix.

@danilo-leal danilo-leal merged commit eec61a1 into master Aug 22, 2022
@danilo-leal danilo-leal deleted the oliviertassinari-patch-1 branch August 22, 2022 12:40
daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: text field This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants