-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[docs] Remove ad on paid docs pages #17373
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
Conversation
| @@ -1,5 +1,5 @@ | |||
| --- | |||
| title: Charts - Zooming and panning | |||
| title: Charts - Zoom and pan | |||
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.
To match the link in the sidenav
| --- | ||
|
|
||
| # Data Grid - Columns Panel 🚧 | ||
| # Data Grid - Columns panel 🚧 |
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.
Sentence case seem to apply here
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.
What's the reason for the change? We are referring to the component name here which is Columns Panel.
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 default is sentence case, I didn't understand why it uses title case, so went back to the default.
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.
I'm reverting this though, for the sake of having smaller more focused PRs. (not the title, I don't see how the title can be correct, but the changes in the body)
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.
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.
I think the difference is that
- "Date Time" is a reference to our date time component to disambiguate with a date time component that people already know. "Column Panel" is not a component that people already know.
- "Date Time" is a reference to a product, assuming we define product as something that people can use on its own.
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.
"Date Time" is a reference to our date time component to disambiguate with a date time component that people already know. "Column Panel" is not a component that people already know.
I'm not sure I understand this logic — I don't see why it would make a difference whether people know it or not.
"Columns Panel" is consistent with our convention for component naming.
Maybe @mapache-salvaje can help us with the correct casing here? 😅
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.
According to our style conventions all MUI components should be treated as proper nouns (aka "Title Case") so "Columns Panel" is correct.
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.
I don't see why it would make a difference whether people know it or not
@kenanyusuf How I understand each:
Date Picker = https://mui.com/x/react-date-pickers/date-picker/
DatePicker or <DatePicker> = https://mui.com/x/api/date-pickers/date-picker/
date picker = https://en.wikipedia.org/wiki/Date_picker
In this case,
Columns Panel = doesn't exist.
ColumnsPanel = doesn't exist, ColumnsPanelTrigger exists
columns panel = https://mui.com/x/react-data-grid/components/columns-panel/
According to our style conventions all MUI components should be treated as proper nouns (aka "Title Case") so "Columns Panel" is correct.
@mapache-salvaje By following https://www.notion.so/mui-org/Style-conventions-for-MUI-components-and-products-dff7d2d7d1ba4a4abd47f48cf345b800 I land on this:
-# Data Grid - Columns Panel 🚧
+# Data Grid - Columns panel 🚧 // none of case 1, 2, 3 applies, so it's default to sentence case)
-### Columns Panel Trigger
+### <ColumnsPanelTrigger> (case 3 applies, but it's a header so no backtick)
`<ColumnsPanelTrigger />` is a button that opens and closes the columns panel.
It renders the `baseButton` slot.but I have reverted this, to keep the PR focused.
| # Rich Tree View - Lazy loading | ||
| # Rich Tree View - Lazy loading [<span class="plan-pro"></span>](/x/introduction/licensing/#pro-plan 'Pro plan') |
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.
This is Pro
|
|
||
| export default function Page() { | ||
| return <MarkdownDocs {...pageProps} />; | ||
| return <MarkdownDocs disableAd {...pageProps} />; |
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.
|
|
||
| export default function Page() { | ||
| return <MarkdownDocs {...pageProps} />; | ||
| return <MarkdownDocs disableAd {...pageProps} />; |
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.
|
|
||
| export default function Page() { | ||
| return <MarkdownDocs {...pageProps} />; | ||
| return <MarkdownDocs disableAd {...pageProps} />; |
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.
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
e290df2 to
df88f5c
Compare
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
37b5413 to
ff5bd3f
Compare
ff5bd3f to
70dbc4f
Compare
70dbc4f to
fea8258
Compare

Remove ad on paid docs pages, and fix some small docs issues along the way.