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

[docs] Use loading state in the demos #15512

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

cherniavskii
Copy link
Member

@cherniavskii cherniavskii commented Nov 20, 2024

Fixes comment: /~https://github.com/mui/mui-x/pull/15504/files#r1850503158

I didn't update demos with less than 100 rows since the loading state is too short.

@cherniavskii cherniavskii added docs Improvements or additions to the documentation component: data grid This is the name of the generic UI component, not the React module! labels Nov 20, 2024
@mui-bot
Copy link

mui-bot commented Nov 20, 2024

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

Generated by 🚫 dangerJS against 759912e

@KenanYusuf
Copy link
Member

KenanYusuf commented Nov 20, 2024

I still can't really see the loading state on my machine, but when I slow down the CPU through devtools it's noticeable.

@cherniavskii
Copy link
Member Author

I still can't really see the loading state on my machine

@KenanYusuf Even on page refresh?

Screen.Recording.2024-11-20.at.17.59.19.mov

@KenanYusuf
Copy link
Member

Aha, now I see the skeleton loader on refresh, same as your video. Looks good!

@cherniavskii cherniavskii added the needs cherry-pick The PR should be cherry-picked to master after merge label Nov 21, 2024
@cherniavskii cherniavskii marked this pull request as ready for review November 21, 2024 09:29
@cherniavskii cherniavskii merged commit 41d519d into mui:master Nov 21, 2024
20 checks passed
@cherniavskii cherniavskii deleted the docs-demos-loading-state branch November 21, 2024 12:29
cherniavskii added a commit to cherniavskii/mui-x that referenced this pull request Nov 21, 2024
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
component: data grid This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation needs cherry-pick The PR should be cherry-picked to master after merge v7.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants