Skip to content
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

[DataGrid] Change default loading overlay variants #15504

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

KenanYusuf
Copy link
Member

Closes #15484

  • Changed the default loading overlay variant prop to linear-progress and noRowsVariant to skeleton.
  • Updated documentation
  • Also updated the skeleton loading demo to not use DataGridPro since it is a commercial feature. Added a regression test for using skeleton loader with pinned columns to catch any regressions.

@KenanYusuf KenanYusuf added breaking change component: data grid This is the name of the generic UI component, not the React module! v8.x labels Nov 20, 2024
@mui-bot
Copy link

mui-bot commented Nov 20, 2024

Deploy preview: https://deploy-preview-15504--material-ui-x.netlify.app/

Updated pages:

Generated by 🚫 dangerJS against e81329e

@KenanYusuf KenanYusuf requested a review from a team November 20, 2024 12:35
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was about to ask for this demo for visual regression testing 👍🏻

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went to the docs to see this change in practice, and realized that most of our demos aren't using the loading state and show no rows overlay instead 🫠
E.g.: https://deploy-preview-15504--material-ui-x.netlify.app/x/react-data-grid/sorting/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened #15512

@KenanYusuf KenanYusuf merged commit 1b9df94 into mui:master Nov 20, 2024
24 checks passed
@KenanYusuf KenanYusuf deleted the v8-default-loading-overlay branch November 20, 2024 15:56
LukasTy pushed a commit to LukasTy/mui-x that referenced this pull request Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: data grid This is the name of the generic UI component, not the React module! v8.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data grid] Change the default loading overlay variant
3 participants