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

[WC-2512]: Add loading state to datagrid-web #1241

Merged
merged 15 commits into from
Nov 4, 2024

Conversation

samuelreichert
Copy link
Contributor

@samuelreichert samuelreichert commented Sep 26, 2024

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
Screenshot 2024-10-01 at 15 08 26

Skeleton loader
image

@samuelreichert samuelreichert changed the title feat(datagrid-web): add loading state to datagrid-web when datasource… [WC-2512]: Add loading state to datagrid-web Sep 26, 2024
@samuelreichert samuelreichert force-pushed the feat/WC-2512-dg2-loading-state branch 2 times, most recently from fa7a50c to 63f80d8 Compare October 1, 2024 12:19
@samuelreichert samuelreichert marked this pull request as ready for review October 1, 2024 12:19
@samuelreichert samuelreichert requested a review from a team as a code owner October 1, 2024 12:19
@samuelreichert samuelreichert force-pushed the feat/WC-2512-dg2-loading-state branch 2 times, most recently from 83ff96a to ba7059c Compare October 2, 2024 09:44
@samuelreichert samuelreichert force-pushed the feat/WC-2512-dg2-loading-state branch 3 times, most recently from 7df938c to b452cf4 Compare October 9, 2024 14:57
@iobuhov
Copy link
Collaborator

iobuhov commented Oct 11, 2024

I'll approve after rebase.

@samuelreichert samuelreichert force-pushed the feat/WC-2512-dg2-loading-state branch from b452cf4 to 6cdec58 Compare October 11, 2024 12:20
Copy link
Collaborator

@iobuhov iobuhov left a comment

Choose a reason for hiding this comment

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

console

@samuelreichert samuelreichert force-pushed the feat/WC-2512-dg2-loading-state branch from 8d32220 to ae9b1b9 Compare October 15, 2024 14:05
iobuhov
iobuhov previously approved these changes Oct 16, 2024
Copy link
Collaborator

@iobuhov iobuhov left a comment

Choose a reason for hiding this comment

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

LGTM

@samuelreichert samuelreichert force-pushed the feat/WC-2512-dg2-loading-state branch from ae9b1b9 to 900518d Compare October 17, 2024 07:48
@samuelreichert samuelreichert force-pushed the feat/WC-2512-dg2-loading-state branch 3 times, most recently from f9c081c to 3197385 Compare October 22, 2024 11:53
@samuelreichert samuelreichert force-pushed the feat/WC-2512-dg2-loading-state branch from d0260db to 884fd01 Compare October 24, 2024 12:06
iobuhov
iobuhov previously approved these changes Oct 24, 2024
Copy link
Collaborator

@iobuhov iobuhov left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

leonardomendix
leonardomendix previously approved these changes Oct 28, 2024
@samuelreichert samuelreichert force-pushed the feat/WC-2512-dg2-loading-state branch from 7fe0802 to 043bc52 Compare November 4, 2024 10:12
@samuelreichert samuelreichert merged commit fbd3ec4 into main Nov 4, 2024
16 checks passed
@samuelreichert samuelreichert deleted the feat/WC-2512-dg2-loading-state branch November 4, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants