-
Notifications
You must be signed in to change notification settings - Fork 1.1k
refactor: Improve the load state for the list pages #1428
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
Conversation
…age-loader-design
Codecov Report
@@ Coverage Diff @@
## main #1428 +/- ##
==========================================
- Coverage 67.26% 67.18% -0.09%
==========================================
Files 288 291 +3
Lines 19422 19452 +30
Branches 244 258 +14
==========================================
+ Hits 13065 13068 +3
- Misses 5019 5046 +27
Partials 1338 1338
Continue to review full report at Codecov.
|
|
Close #1434 |
| ))} | ||
|
|
||
| {users.length === 0 && ( | ||
| {users && users.length === 0 && ( |
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.
Maybe next time we're in here, we can break this file apart a bit.
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.
Sure thing.
Kira-Pilot
left a comment
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.
Nice job! This looks good to me.
WorkspacesPageandWorkspacePageto use not use the customTablecomponent and created the componentsWorkspacesTableandTemplatesTablewith related storybooks covering theempty,defaultandloadingstates so we can trust on storybook to test them for us.