-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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] Split the Editing page #7772
base: v6.x
Are you sure you want to change the base?
Conversation
Netlify deploy previewNetlify deploy preview: https://deploy-preview-7772--material-ui-x.netlify.app/ Updated pages
These are the results for the performance tests:
|
a8cd03a
to
3d1b6d3
Compare
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.
Naming sounds nice. 👌
I did not read entirely the page content assuming it's copied past
I'm wondering, do you plan to add sections in "row editing" page. Otherwise, it could go to the overview page with
editMode="row"
section between "making colums editable" and "value parser/setter"- CRUD example at then end
For the two other sections, they are shorts but very advanced and well-scoped, so not a problem
docs/.link-check-errors.txt
Outdated
@@ -2,5 +2,6 @@ Broken links found by `yarn docs:link-check` that exist: | |||
|
|||
- https://mui.com/blog/material-ui-v4-is-out/#premium-themes-store-✨ | |||
- https://mui.com/size-snapshot | |||
- https://mui.com/x/react-data-grid/editing/#row-editing |
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 will require an update of the material-ui repo. Especially the PricingTable.tsx
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.
Yes, after releasing the v6 stable
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
The CRUD example is part of the Row editing section, so I would rather not split them. |
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.
Looks great! 💯
A similar makeover (splitting into several smaller pages) has been done to the pickers getting started page quite successfully recently. 👍
@cherniavskii Would you like to proceed with it or do you see a problem? I am trying to do a similar division of pages for Filtering. |
3d1b6d3
to
2211a38
Compare
I've updated the PR and split the editing page again, here's the current structure: https://deploy-preview-7772--material-ui-x.netlify.app/x/react-data-grid/editing/ ![]() |
{ pathname: '/x/react-data-grid/editing/persistence' }, | ||
{ pathname: '/x/react-data-grid/editing/custom-edit-component' }, | ||
{ pathname: '/x/react-data-grid/editing/editing-events' }, | ||
{ pathname: '/x/react-data-grid/editing/recipes' }, |
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 didn't reach an agreement on "Examples" vs "Recipes" in #7762 😅
I kept the previous title ("Recipes") for now, feel free to vote on this comment if you have a preference:
- 🚀 for "Recipes"
- 🎉 for "Examples"
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.
@richbustos What do you think about this one?
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.
LGTM!
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.
Nice update
|
||
<p class="description">Creating custom edit component.</p> | ||
|
||
## Create your own edit component |
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.
Could we discard this heading in favor of the main one (i.e Custom edit component
)?
|
||
<p class="description">Using editing events.</p> | ||
|
||
## Editing events |
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.
Same with this one?
@@ -0,0 +1,59 @@ | |||
# Data Grid - Editing Persistence |
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.
Since we only cover server-side persistence on this page, would it be better to call it Server-side persistence and discard the extra heading (i.e. Server-side persistence), or we plan to extend it with the other topics which fall under persistence?
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
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.
Bumping this awesome update.
Part of #7762
Changes:
Preview: https://deploy-preview-7772--material-ui-x.netlify.app/x/react-data-grid/editing/