Skip to content

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

Open
brijeshb42 wants to merge 6 commits into
mui:masterfrom
brijeshb42:docs-infra/migrate-demos
Open

brijeshb42 wants to merge 6 commits into
mui:masterfrom
brijeshb42:docs-infra/migrate-demos

Conversation

@brijeshb42

@brijeshb42 brijeshb42 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Migrate all 1,484 docs demos to docs-infra modules across Data Grid, Charts, Date Pickers, Tree View, Chat, Scheduler, shared concepts, migration guides and the error decoder. Replace markdown references and generated JavaScript/previews while preserving helpers, demo options and sandbox exports. Migration tooling stays local.

Use published docs-infra 0.13.1-canary.28 from merged mui/mui-public#1947 and material-ui previews at 40645cf. Remove the local docs-infra export/precompute patch and temporary API-extractor override. Core-docs factory aliases, font compatibility and sandbox hooks remain pending mui/material-ui#49464. Render toolbar controls in the initial HTML; live demo content stays lazy. Persistent-preview TBT changes remain stashed for separate PRs.

Rebase onto bc75f0d643, preserving master's demo content and dependency/tooling updates. Include 16 new demos. Keep the nine Scheduler experiments at their new flat paths; all five experiment routes match master exactly. All demo moves, source markers, generated entries, markdown references and moved-demo consumer imports remain in the final commit, 63cb111243.

Validation: frozen install and dedupe pass. Docs TypeScript, full ESLint, formatting and nine native loader/migration tests pass with the installed provider package. Additional artifact checks cover resolver omissions, pinned peer versions and deferred reuse with undefined options. The 1,484 demos remain unchanged; the prior 1,647-file source audit still applies. Production build passes: 733 pages, zero broken links across 111,253 links. All eleven migration browser checks and five new-demo smoke checks pass. The npm release matches all 820 code/declaration/style files of the preview validated by that build and browser run. Fresh registry install, dedupe, docs types, lint and native loader/export checks pass. No full-site rebuild or performance rerun was needed for this byte-identical release replacement.

Historical performance, before this rebase: five alternating mobile Lighthouse pairs per page compared deployed master fdd6b2ba60 with migration 59ca5c4730. Grid columns TBT 531→798ms; row grouping 1392→1252ms; Charts axis 899→791ms; lines 663→736ms. CLS medians were zero. The no-regression target remains unmet; these are not measurements of the current branch.

A later local toolbar comparison found median TBT 607→710ms on Grid columns and 626→678ms on Charts lines, with gzip HTML increasing 4.8 KB/7.4 KB and CLS remaining zero. Those samples also predate this rebase. Current performance requires a fresh deployed comparison.

Preview: https://deploy-preview-23851--material-ui-x.netlify.app/x/
Baseline: https://master--material-ui-x.netlify.app/x/

@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/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)
@mui/x-scheduler 0B(0.00%) 0B(0.00%)
@mui/x-scheduler-premium 0B(0.00%) 0B(0.00%)
@mui/x-chat 0B(0.00%) 0B(0.00%)
@mui/x-license 0B(0.00%) 0B(0.00%)

Details of bundle changes


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

@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@brijeshb42
brijeshb42 marked this pull request as ready for review October 13, 2026 14:36
@brijeshb42 brijeshb42 changed the title [docs] Migrate Tree View demos to docs-infra [docs] Migrate demos to docs-infra Oct 13, 2026
@brijeshb42
brijeshb42 force-pushed the docs-infra/migrate-demos branch from a6a72a0 to 89ab5cd Compare October 13, 2026 15:56
@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 13, 2026
@brijeshb42 brijeshb42 added docs Improvements or additions to the documentation. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. labels Oct 13, 2026
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@brijeshb42
brijeshb42 force-pushed the docs-infra/migrate-demos branch from 3c0186d to 4e6d7d2 Compare October 14, 2026 11:57
@github-actions github-actions Bot added PR: out-of-date The pull request has merge conflicts and can't be merged. and removed PR: out-of-date The pull request has merge conflicts and can't be merged. labels Oct 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@brijeshb42
brijeshb42 force-pushed the docs-infra/migrate-demos branch from 4e6d7d2 to 8c1a33c Compare October 15, 2026 08:42
@brijeshb42
brijeshb42 force-pushed the docs-infra/migrate-demos branch from 8c1a33c to 2b2947d Compare October 15, 2026 09:02
@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 15, 2026
@brijeshb42
brijeshb42 force-pushed the docs-infra/migrate-demos branch from 59ca5c4 to 2476ac6 Compare October 16, 2026 07:49
@brijeshb42
brijeshb42 force-pushed the docs-infra/migrate-demos branch from 2476ac6 to d0d9cd7 Compare October 16, 2026 13:21
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@JCQuintas

Copy link
Copy Markdown
Member

Why is this even more files to review? Wouldn't it make sense for most of these to come from build time instead? 🤔

@brijeshb42
brijeshb42 force-pushed the docs-infra/migrate-demos branch from d0d9cd7 to 7ae34b7 Compare October 29, 2026 10:17
@github-actions github-actions Bot added PR: out-of-date The pull request has merge conflicts and can't be merged. and removed PR: out-of-date The pull request has merge conflicts and can't be merged. labels Oct 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@brijeshb42
brijeshb42 force-pushed the docs-infra/migrate-demos branch from 7ae34b7 to 63cb111 Compare October 30, 2026 11:12

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

docs Improvements or additions to the documentation. PR: out-of-date The pull request has merge conflicts and can't be merged. type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants