-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
DataViews: show loading / no result message for the list layout #57764
Conversation
Size Change: +43 B (0%) Total Size: 1.69 MB
ℹ️ View Unchanged
|
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.
Thank you. We can land this for now and we'll need the same for grid
(either here or in a follow up).
I think we should explore though to handle this no results/loading behavior in the main component so at to have consistency and remove the need for implementation in each view.
I have it on my list to work on a better design for this 👍 |
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.
Working for me.
Yeah, I looked at that briefly. I decided against because I'm not sure that the loading/no result affordance is disconnected from the layout. Examples:
And this is just considering 3 layouts that we know and control. Imagine layouts created by 3rd parties. I felt that abstracting the notice outside of the layout carried more weight than it appeared at first sight, so I thought it'd be best not to right now. |
Part of #55083
What?
Adds a "Loading..." or "No results" message to the list layout.
Why?
To provide users with current information about what's happening.
How?
Adds a notice.
Testing Instructions
isLoading: true
somewhere to see it in action, if it happen too fast.