-
Notifications
You must be signed in to change notification settings - Fork 6k
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
feat: change default icon for unknown entities #21967
Conversation
Changed Packages
|
Not for this PR, but thinking that we should drop the double Icon in some of the screenshots :) |
I will remove the double icons, they look odd 😉 |
569cf3c
to
b6107b6
Compare
b6107b6
to
15079aa
Compare
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 the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
15079aa
to
2ecdcc2
Compare
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.
Just a first feedback. I'm curious why you prefer rendering an empty icon with SVGIcon
rather than conditionally rendering it or returning null
, when there is no Icon set. Is it because of keeping the type consistend or avoiding breakages in case someone uses those components somewhere else? :)
plugins/catalog-graph/src/components/EntityRelationsGraph/DefaultRenderNode.tsx
Outdated
Show resolved
Hide resolved
plugins/catalog-import/src/components/EntityListComponent/EntityListComponent.tsx
Outdated
Show resolved
Hide resolved
plugins/catalog-react/src/components/InspectEntityDialog/components/AncestryPage.tsx
Outdated
Show resolved
Hide resolved
2ecdcc2
to
1bbdb7b
Compare
Thanks @tudi2d
Actually both, if someone is using EntityKindIcon it should not break and behave consistent. |
1266525
to
d8ef3da
Compare
ec8028e
to
0ea52bd
Compare
@dweber019 I think this needs a rebase, we had to make some fixes to mainline branch yesterday and some PR's might have got caught up in the change. |
d8ef3da
to
2fe1b16
Compare
@benjdlambert did the rebase but e2e tests still failing. |
@dweber019 yeah we've hit a bit a rough patch with some upstream dependencies breaking our e2e test with some typescript issues - we're thinking about how we can make this a little better. mui/material-ui#40427 I think that this is looking pretty good - just wanna get some eyes from @backstage/catalog-maintainers. |
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
2fe1b16
to
3066daf
Compare
Uffizzi Cluster |
Signed-off-by: David Weber <[email protected]>
3066daf
to
916da47
Compare
rebased this to see if we can get it merged |
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.
let's get this in - thanks for your contribution!:)
Thank you for contributing to Backstage! The changes in this pull request will be part of the |
Hey, I just made a Pull Request!
Raised in #21900.
Here some screenshots of the implementation.
✔️ Checklist
Signed-off-by
line in the message. (more info)