Repository navigation
[docs] Migrate demos to docs-infra - #23851
Open
brijeshb42 wants to merge 6 commits into
Open
brijeshb42 wants to merge 6 commits into
brijeshb42 wants to merge 6 commits into
Conversation
Deploy previewBundle size
Check out the code infra dashboard for more information about this PR. |
Contributor
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
brijeshb42
marked this pull request as ready for review
October 13, 2026 14:36
brijeshb42
force-pushed
the
docs-infra/migrate-demos
branch
from
October 13, 2026 15:56
a6a72a0 to
89ab5cd
Compare
Contributor
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
brijeshb42
force-pushed
the
docs-infra/migrate-demos
branch
from
October 14, 2026 11:57
3c0186d to
4e6d7d2
Compare
Contributor
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
brijeshb42
force-pushed
the
docs-infra/migrate-demos
branch
from
October 15, 2026 08:42
4e6d7d2 to
8c1a33c
Compare
brijeshb42
force-pushed
the
docs-infra/migrate-demos
branch
from
October 15, 2026 09:02
8c1a33c to
2b2947d
Compare
brijeshb42
force-pushed
the
docs-infra/migrate-demos
branch
from
October 16, 2026 07:49
59ca5c4 to
2476ac6
Compare
brijeshb42
force-pushed
the
docs-infra/migrate-demos
branch
from
October 16, 2026 13:21
2476ac6 to
d0d9cd7
Compare
Contributor
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
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
force-pushed
the
docs-infra/migrate-demos
branch
from
October 29, 2026 10:17
d0d9cd7 to
7ae34b7
Compare
Contributor
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
brijeshb42
force-pushed
the
docs-infra/migrate-demos
branch
from
October 30, 2026 11:12
7ae34b7 to
63cb111
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.28from merged mui/mui-public#1947 and material-ui previews at40645cf. 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
fdd6b2ba60with migration59ca5c4730. 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/