Skip to content

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Nov 23, 2024

This logic has been buggy for a long time, we were lucky up until now to not hit it, but with mui/mui-x#15014, we started to see it:

SCR-20241123-risk SCR-20241123-riut

This happens because in MUI X v8, we added subheader, breaking the previous heuristic: if there is a single child, then this child is a leaf. Nop, not true ever since we support subheaders.

Preview: https://mui.com/material-ui/getting-started/. On Material UI, nothing should change.

@oliviertassinari oliviertassinari added type: bug It doesn't behave as expected. scope: docs-infra Changes related to the docs-infra product. labels Nov 23, 2024
@mui-bot
Copy link

mui-bot commented Nov 23, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against ab58392

@oliviertassinari oliviertassinari force-pushed the docs-infra-fix-navigation branch 3 times, most recently from fe9944a to 313404f Compare November 23, 2024 19:00
@oliviertassinari oliviertassinari force-pushed the docs-infra-fix-navigation branch from 313404f to ab58392 Compare November 23, 2024 19:01
@oliviertassinari oliviertassinari changed the title [docs-infra] Property flatten pages tree [docs-infra] Correctly flatten the pages tree Nov 23, 2024
Copy link
Member

@alexfauquette alexfauquette left a comment

Choose a reason for hiding this comment

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

Nice I was wondering what are those new 404

@siriwatknp siriwatknp merged commit 9252cd0 into mui:master Nov 25, 2024
22 checks passed
@oliviertassinari oliviertassinari deleted the docs-infra-fix-navigation branch November 25, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: docs-infra Changes related to the docs-infra product. type: bug It doesn't behave as expected.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants