Skip to content

[docs-infra] Migrate demos to docs-infra - #49456

Open
brijeshb42 wants to merge 4 commits into
mui:v9.xfrom
brijeshb42:cherry-pick/48842-v9x
Open

brijeshb42 wants to merge 4 commits into
mui:v9.xfrom
brijeshb42:cherry-pick/48842-v9x

Conversation

@brijeshb42

@brijeshb42 brijeshb42 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Cherry-pick of #48842 onto v9.x.

The original GitHub Action failed to create the cherry-pick PR because it hit a modify/delete conflict in docs/data/material/customization/focus-visible/FullFocusVisibleDemo.js. This PR keeps the migrated TSX demo and its focus-visible behavior, preserves the v9.x docs deploy target, and restores webpack-bundle-analyzer, which the docs config imports at load time.

It also incorporates #49455: General Sans no longer applies weight 600 to the body, and an e2e test covers body text, headings, and font loading with and without JavaScript.

Node tests, browser tests, TypeScript, and ESLint pass locally. The docs build passed locally before the #49455 changes.

Keep the v9.x deploy target while migrating demos to docs-infra.
@code-infra-dashboard

code-infra-dashboard Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Deploy preview

Bundle size

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/private-theming 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@brijeshb42 brijeshb42 added scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch. labels Oct 13, 2026
brijeshb42 and others added 3 commits October 13, 2026 20:36
The docs config imports the analyzer at load time, even when stats are off.
Next registers and preloads the font from its import, so the variable
class is not necessary. Check that the General Sans 600 font face loads
in the hydrated test, and use the shared test fixture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brijeshb42
brijeshb42 requested review from a team October 13, 2026 15:30
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 15, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch. PR: out-of-date The pull request has merge conflicts and can't be merged. scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants