Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jan 11, 2024

This is a continuation of mui/mui-x#11645 (comment). See how annoying it is when a non-breaking space is missed with MUI X. That line breaks in the middle 🙈. The other objective is to flag all the cases where we use MUI. In 80% of the time, this shouldn't happen in the first place.

This seems to work:

Screen.Recording.2024-01-16.at.01.52.26.mov

@oliviertassinari oliviertassinari added type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). labels Jan 11, 2024
@mui-bot
Copy link

mui-bot commented Jan 11, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 7b7a56a

@oliviertassinari oliviertassinari requested review from mapache-salvaje and removed request for alexfauquette January 11, 2024 12:22
oliviertassinari and others added 2 commits January 11, 2024 22:41
Co-authored-by: Alexandre Fauquette <[email protected]>
Signed-off-by: Olivier Tassinari <[email protected]>
Co-authored-by: Alexandre Fauquette <[email protected]>
Signed-off-by: Olivier Tassinari <[email protected]>
@oliviertassinari oliviertassinari merged commit 8cdf913 into mui:master Jan 16, 2024
@oliviertassinari oliviertassinari deleted the brand-name branch January 16, 2024 00:54
@oliviertassinari
Copy link
Member Author

oliviertassinari commented Jan 16, 2024

Next, I think we should:

  • Rename MUI X, MUI System, name in the whole codebase
  • Enforce MUI X, MUI System name consistency to fail in the CI (Vale is only a hint right now). Maybe an eslint rule or markdownlint rule, or run Vale error mode.
  • Fix the MUI instance

@alexfauquette
Copy link
Member

Enforce MUI X, MUI System name consistency to fail in the CI (Vale is only a hint right now). Maybe an eslint rule or markdownlint rule, or run Vale error mode.

I don't know how it react with the setting level: error if it fails the PR or not. BY the ways vale is here for transitioning. It only verifies lines that are modified in the PR

If installed I tend to disable all other rules, and then run the next command to verify if I missed some fixed

vale ./docs/data/**/*.md > t.txt

@oliviertassinari
Copy link
Member Author

@oliviertassinari
Copy link
Member Author

oliviertassinari commented Jan 20, 2024

I don't know how it react with the setting level: error if it fails the PR or not. BY the ways vale is here for transitioning. It only verifies lines that are modified in the PR

@alexfauquette It fails the CI, perfect.


We forgot MUI Core, MUI Store, MUI Toolpad, MUI Connect, adding to the list:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). 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.

4 participants