-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Added emptyContent to properties of Catalog Table #14003
Added emptyContent to properties of Catalog Table #14003
Conversation
Signed-off-by: irma12 <irma@roadie.io>
Changed Packages
|
Signed-off-by: irma12 <irma@roadie.io>
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If you are the author and the PR has been closed, feel free to re-open the PR and continue the contribution! |
Signed-off-by: irma12 <irma@roadie.io>
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, makes sense! 👍
Just a minor concern
empty: { | ||
padding: theme.spacing(2), | ||
display: 'flex', | ||
justifyContent: 'center', | ||
}, |
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 wonder if this styling is perhaps a bit too opinionated, should we leave it to the content instead? Especially since it's not possible to override
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.
Yeah, agree it is too strict. Removed it :)
Signed-off-by: irma12 <irma@roadie.io>
Signed-off-by: irma12 <irma@roadie.io>
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.
Great, thank you!
Thank you for contributing during Hacktoberfest 🍂! You can claim the Backstage Hacktoberfest Holopin at https://bck.st/hacktoberfest-holopin 🙌🏻 |
Signed-off-by: irma12 irma@roadie.io
Hey, I just made a Pull Request!
Currently we cannot customise empty content, add customised message, component or similar, when there are not entities loaded in Catalog. Think we probably can pass this prop so it is usable in a same way as in other tables,
✔️ Checklist
Signed-off-by
line in the message. (more info)