mui / mui-x

MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
https://mui.com/x/
4.11k stars 1.27k forks source link

[data grid] Use multiple tabs instead of package for mock data set #13110

Closed joserodolfofreitas closed 2 weeks ago

joserodolfofreitas commented 4 months ago

Summary

To enhance transparency and devEx, I propose replacing the current dataset mocker package (x-data-grid-generator) with a more direct, user-friendly approach: we leverage the new "multi-tabs" feature of our docs-infra to embed the code snippets directly within the docs in a separate tab, so we don't pollute the main aspects of the code.

This will allow users to view, copy, and paste relevant code easily. The change aims to simplify the user experience by making code samples more accessible and reducing dependencies on external packages.

Motivation

Search keywords:

joserodolfofreitas commented 4 months ago

The docs-infra team is working on a way to reuse tabs/resources in different examples. We should wait until this is ready to replace useDemoData.

github-actions[bot] commented 2 weeks ago

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.