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-infra] Fix missing dependencies in multi-tab demos #43713

Merged

Conversation

cherniavskii
Copy link
Member

@cherniavskii cherniavskii commented Sep 11, 2024

Fixes mui/mui-x#13695 (comment)

When multi-tab demos are opened in Stackblitz/Codesandbox, we need to extract imported dependencies from all the files, not only the main ones.

Before: https://deploy-preview-43696--material-ui-apps.netlify.app/experiments/docs/demos/#multiple-tabs-demo
After: https://deploy-preview-43713--material-ui-apps.netlify.app/experiments/docs/demos/#multiple-tabs-demo

TODO

fixes missing dependencies when opening demo in Stackblitz
@cherniavskii cherniavskii added the scope: docs-infra Specific to the docs-infra product label Sep 11, 2024
@mui-bot
Copy link

mui-bot commented Sep 11, 2024

Netlify deploy preview

https://deploy-preview-43713--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against bddf126

@cherniavskii cherniavskii requested a review from a team September 11, 2024 18:56
@cherniavskii cherniavskii marked this pull request as ready for review September 11, 2024 18:57
Copy link
Member

@bharatkashyap bharatkashyap left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks @cherniavskii, real power use of the multi tabs feature 😄

@cherniavskii
Copy link
Member Author

The agros diff is not related to changes in this PR and seems to be restoring the proper screenshot after the wrong one was committed to the master branch.
I'll go ahead and merge this PR.

@cherniavskii cherniavskii merged commit dd2faca into mui:master Sep 11, 2024
22 checks passed
@cherniavskii cherniavskii deleted the fix-multi-tab-demos-dependencies branch September 11, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: docs-infra Specific to the docs-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants