-
Notifications
You must be signed in to change notification settings - Fork 45
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
[WC-2512]: Add loading state to datagrid-web #1241
Conversation
fa7a50c
to
63f80d8
Compare
83ff96a
to
ba7059c
Compare
packages/pluggableWidgets/datagrid-web/src/components/loader/TableSkeleton.tsx
Outdated
Show resolved
Hide resolved
7df938c
to
b452cf4
Compare
I'll approve after rebase. |
b452cf4
to
6cdec58
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.
console
8d32220
to
ae9b1b9
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.
LGTM
ae9b1b9
to
900518d
Compare
f9c081c
to
3197385
Compare
d0260db
to
884fd01
Compare
packages/modules/data-widgets/src/themesource/datawidgets/web/_datagrid.scss
Show resolved
Hide resolved
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 🚀
62448b6
to
81a3bff
Compare
81a3bff
to
e1b02fd
Compare
7fe0802
to
043bc52
Compare
Pull request type
New feature (non-breaking change which adds functionality)
Description
Add a loading state to datagrid-web, to run every time datasource is changing, it can be: When paginating, when filtering, on first datagrid load.
Add the property
loading type
where can be selected option "Skeleton" or "Spinner" loader.By default, "Spinner" will be selected.
The loading state will use the loading type to show a component to indicate the user that the content is loading, or changing.
Screenshots
Spinner loader

Skeleton loader
