Skip to content

Fix entity header icon disappearing on tab switch#1449

Merged
gusevda merged 1 commit intomainfrom
entity-header-icon-blueprint
Mar 27, 2026
Merged

Fix entity header icon disappearing on tab switch#1449
gusevda merged 1 commit intomainfrom
entity-header-icon-blueprint

Conversation

@gusevda
Copy link
Copy Markdown
Contributor

@gusevda gusevda commented Mar 27, 2026

What does this PR do?

Replaces the portal-based EntityHeaderIcon with an EntityHeaderBlueprint custom header so the entity icon persists across all tabs on catalog entity pages.

Previously, EntityHeaderIcon was mounted inside HelmChartContentLayout, which only renders on the overview tab. Switching to any other tab would unmount the component and the icon would disappear.

  • A changeset describing the change and affected packages was added. (more info)

The entity icon was only visible on the overview tab because
EntityHeaderIcon was mounted inside HelmChartContentLayout, which
unmounts on tab switch. Replace this with an EntityHeaderBlueprint
that provides a custom header for entities with a GS icon annotation.
The custom header mirrors the upstream EntityHeader (title, subtitle,
labels, context menu, inspect dialog) and injects the icon via DOM
manipulation into the header flex layout so it persists across all tabs.
@gusevda gusevda marked this pull request as ready for review March 27, 2026 11:42
@gusevda gusevda requested a review from a team as a code owner March 27, 2026 11:42
@gusevda gusevda requested a review from marians March 27, 2026 11:42
@gusevda gusevda merged commit c146a52 into main Mar 27, 2026
6 checks passed
@gusevda gusevda deleted the entity-header-icon-blueprint branch March 27, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants