-
Notifications
You must be signed in to change notification settings - Fork 377
feat(table): add fullscreen empty state demo #7371
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
|
Preview: https://patternfly-react-pr-7371.surge.sh A11y report: https://patternfly-react-pr-7371-a11y.surge.sh |
mcarrano
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.
@jenny-s51 Just a couple of requests...
Can we make all three demos for empty state full screen? Seems odd that only the first one is. Also, the third demo (Error) should include an icon as in the design guidelines here: https://www.patternfly.org/v4/components/empty-state/design-guidelines#back-end-failure
@mmenestr please also take a look at this one to see if there is anything else we should update.
|
Don't see anything else - agree with @mcarrano's comments, otherwise looks good! |
|
Thank you Matt, yes per your comment in the loading state PR: #7370 (review), I am adding the empty state demos separately and should have the error state up soon! Thank you @mcarrano @mmenestr |
| ```js isFullscreen | ||
| import React from 'react'; | ||
| import { | ||
| Bullseye, |
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.
I don't think you need the bullseye
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.
@mattnolting good call, I think that's from before the empty state centered its contents. We can remove it from the core loading and empty state demos, too. patternfly/patternfly#4872
@jenny-s51 I added this issue for any kinds of small changes like this that we need to push back to core.
mattnolting
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.
LPTM 👍
mcarrano
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.
@jenny-s51 I think this is fine. I do notice subtle differences when I switch between this and the HTML demo. I think there are mostly due to navigation and masthead differences. Is this part us what we still need to sync up on for parity? It would be great if we can get to a common and consistent page shell.
@mcarrano we have an issue open to update the dashboard wrapper to match core. I think once this is done, the issues you are noticing will be resolved. |
tlabaj
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.
LGTM
mcarrano
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.
@mcarrano we have an issue open to update the dashboard wrapper to match core. I think once this is done, the issues you are noticing will be resolved.
In that case, I approve! Thanks @jenny-s51 .
mattnolting
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.
LGTM!
|
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #7343
Convenience link to demo: https://patternfly-react-pr-7371.surge.sh/components/table/react-demos/#empty