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

[core] Remove need for scopePathnames #35584

Merged
merged 2 commits into from Dec 30, 2022

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Dec 22, 2022

The notion of scopePathnames is painful, e.g. in https://github.com/mui/mui-x/pull/7213/files#diff-ee90840a476635e5e663e42e8bec44d8f102d933541525413da71ef646f60f19R59. "Rows" expand when "Row selection" is selected:

Screenshot 2022-12-22 at 21 28 19

https://deploy-preview-7213--material-ui-x.netlify.app/x/react-data-grid/row-selection/

The solution is to traverse the pages to find all the nodes that need to be expanded to have the active page visible.

ℹ️ This is a breaking change for MUI X and MUI Toolpad docs because of all the 🙈 code duplication in _app.js.

@oliviertassinari oliviertassinari added core Infrastructure work going on behind the scenes scope: docs-infra Specific to the docs-infra product labels Dec 22, 2022
@mui-bot
Copy link

mui-bot commented Dec 22, 2022

Messages
📖 Netlify deploy preview: https://deploy-preview-35584--material-ui.netlify.app/

No bundle size changes

Generated by 🚫 dangerJS against fbea0f6

@oliviertassinari oliviertassinari force-pushed the docs-side-nav-auto-path branch 2 times, most recently from 49deae3 to 4878b6a Compare December 22, 2022 22:45
@oliviertassinari oliviertassinari merged commit add8ec2 into mui:master Dec 30, 2022
@oliviertassinari oliviertassinari deleted the docs-side-nav-auto-path branch December 30, 2022 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes scope: docs-infra Specific to the docs-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants