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] Rename product to productId #37801

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Jul 3, 2023

Regression from #37729

When open a CodeSandbox from any Joy UI component, the index.tsx uses @mui/material. Turns out it could not pick up the correct product identifier because the name of the variable changed in #37729.

Before: open the code sandbox from https://deploy-preview-37729--material-ui.netlify.app/joy-ui/react-button/

Screen.Recording.2566-07-03.at.16.08.25.mov

After: try the deploy preview in this PR

@siriwatknp siriwatknp added regression A bug, but worse scope: docs-infra Specific to the docs-infra product labels Jul 3, 2023
@siriwatknp siriwatknp marked this pull request as ready for review July 3, 2023 09:05
@siriwatknp siriwatknp requested review from oliviertassinari and a team July 3, 2023 09:05
@mui-bot
Copy link

mui-bot commented Jul 3, 2023

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 62542f9

@@ -39,7 +39,7 @@ const createReactApp = (demo: {
raw: string;
codeVariant: CodeVariant;
githubLocation: string;
product?: Product;
productId?: Product;
Copy link
Member

Choose a reason for hiding this comment

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

We could almost change the type import, to use MuiProductId from getProductInfoFromUrl.ts

@siriwatknp siriwatknp merged commit 86976ea into mui:master Jul 4, 2023
20 checks passed
@oliviertassinari oliviertassinari changed the title [docs] rename product to productId [docs] Rename product to productId Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression A bug, but worse scope: docs-infra Specific to the docs-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants