-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[docs] Start enforcing consistency in documentation vocabulary (#6871)Co-authored-by: Sam Sycamore <71297412+samuelsycamore@users.noreply.github.com> #6871
Conversation
Netlify deploy previewNetlify deploy preview: https://deploy-preview-6871--material-ui-x.netlify.app/ Updated pages
These are the results for the performance tests:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can black list "Data grid" in favor of "Data Grid"
Same for "Date picker" => "Date Picker", "Time picker" => "Time Picker" etc...
# swap maps tokens in form of bad: good | ||
# for more information: https://vale.sh/docs/topics/styles/#substitution | ||
swap: | ||
'[A|a]pi': API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just putting two lines here would be easier to read than a pattern
@alexfauquette I'd say it's a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use a lot "the grid", which I think should be "the data grid". Can we have a rule for it if everybody aggress? @samuelsycamore proposed some conventions in https://mui-org.slack.com/archives/C02EAR1R8CC/p1663942713390919
/cc @mui/xgrid
"TypeScript" should be capitalized the same as "JavaScript" - that's how it's formatted in the official docs. As for the Data Grid conventions, I think that anytime you're referring to the MUI X product, or an instance of it, it should be capitalized. It might be redundant/unnecessary to specify "Data Grid" every time, so I think it's fine to shorten it to "Grid," but I would still capitalize it to make it clear that you're referring to the MUI product. The only time I would use "data grid" (lowercase) is when referring to the concept of such a thing, i.e. "The MUI X Data Grid is a type of data grid." Edit: here's the doc I created that provides some more details—Style conventions for MUI components and products. |
a5a756f
to
38f4d61
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Co-authored-by: Sam Sycamore <71297412+samuelsycamore@users.noreply.github.com> Signed-off-by: Alexandre Fauquette <45398769+alexfauquette@users.noreply.github.com>
bacdf4c
to
9ab08fd
Compare
@samuelsycamore If you're okay with the modifications in this PR, we can merge it :) |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
time range picker: Time Range Picker | ||
date time range picker: Date Time Range Picker | ||
# use data grid instead of grid | ||
the grid: the data grid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the grid: the data grid | |
the grid: the Data Grid |
date range picker: Date Range Picker | ||
time range picker: Time Range Picker | ||
date time range picker: Date Time Range Picker | ||
# use data grid instead of grid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# use data grid instead of grid | |
# use Data Grid instead of grid |
Inspired from #6848
API
andTypescript