Repository navigation
plugins: adopt element-based icon lookups - #34794
Conversation
|
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! |
|
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! |
Signed-off-by: Patrik Oldsberg <[email protected]>
Signed-off-by: Patrik Oldsberg <[email protected]>
Signed-off-by: Patrik Oldsberg <[email protected]>
a5e7ef7 to
2355a8a
Compare
Signed-off-by: Patrik Oldsberg <[email protected]>
Changed Packages
|
🎨 Visual Testing with Chromatic
|
Signed-off-by: Patrik Oldsberg <[email protected]>
Signed-off-by: Patrik Oldsberg <[email protected]>
Signed-off-by: Patrik Oldsberg <[email protected]> Co-Authored-By: Codex <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the catalog tab and notification icon migration.
No open issues 🎉
What changed in this PR
Migrates catalog tab and notification icon rendering to IconsApi.icon, using returned elements directly without removing deprecated public APIs.
Changes:
- Renders catalog tab icons through the element-based API.
- Preserves severity fallback for missing notification icons while allowing registered
nullicons to render nothing. - Adds patch changesets for both affected plugins.
| File | Description |
|---|---|
| plugins/notifications/src/components/NotificationsTable/NotificationIcon.tsx | Renders icon elements directly and preserves missing-icon fallback. |
| plugins/catalog/src/alpha/components/EntityTabs/EntityTabsGroup.tsx | Uses element-based lookup for named tab icons. |
| .changeset/update-notification-icons.md | Documents the notification icon update. |
| .changeset/update-catalog-icon-api.md | Documents the catalog tab icon update. |
Review effort: Balanced
|
Thank you for contributing to Backstage! The changes in this pull request will be part of the |
Hey, I just made a Pull Request!
This changes catalog tab and notification icon lookups to render elements returned by
IconsApi.icondirectly. Missing notification icons still fall back to the severity icon, while registerednullicons render nothing.The deprecated
IconComponenttype andIconsApi.getIconremain public and supported.✔️ Checklist
Signed-off-byline in the message. (more info)