Skip to content

fix(page-header): drop the composed-children pill - #916

Open
fedepini wants to merge 1 commit into
mainfrom
fix/page-header-no-child-rollup
Open

fedepini wants to merge 1 commit into
mainfrom
fix/page-header-no-child-rollup

Conversation

@fedepini

@fedepini fedepini commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

What

Removes the "resources " pill that PageHeader drew beside the subject's own status pill.

Why

On the composition detail page, the pill's only consumer, it read as a second status that contradicted the first, for example Ready resources ReadyUnknown for a Role with no readiness to check. The Status panel under the header, and the Resources summary panel (portal #672), already say how many resources are ready, converging or unjudged.

Changes

  • Removed components/PageHealth: the provider, the context, the childHealth kernel and their tests.
  • WidgetPage no longer wraps the page in PageHealthProvider.
  • The tree Listy variant no longer reports rows upward.
  • PageHeader no longer draws the pill. Its CSS and the app.widgets.header.resources key are removed.
  • itemTemplate.health stays in Listy.schema.json, marked deprecated and no longer read, so charts that still set it validate. Portal feat(live-refresh): resubscribe with the digest each widget holds, so a missed change is caught up #672 stops setting it.
  • Regenerated the Listy CRD, the types, the docs and widgetKinds.generated.ts.

Verification

Related

The portal side is krateo-platformops/portal#672: header without subtitle, actions moved under ⋯.

🤖 Generated with Claude Code

The header added "resources <worst child>" beside the subject's own pill, from the
page's tree Listy. On the composition page, its only consumer, it read as a second,
contradicting status ("Ready  resources ReadyUnknown" for a Role with no readiness to
check), and the Status panel under the header already says how many resources are
ready, converging or unjudged.

Removes the PageHealth rollup (provider, context, kernel), the tree Listy's report
and the header pill. Listy's itemTemplate.health stays in the schema, deprecated and
unread, so charts that still set it validate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fedepini
fedepini requested a review from a team as a code owner December 4, 2026 11:22
@fedepini
fedepini requested review from EdmondDantes21 and removed request for a team December 4, 2026 11:22
fedepini added a commit to krateo-platformops/portal that referenced this pull request Dec 4, 2026
…and the ⋯ menu

- The "Kind · namespace · created N ago" subtitle is gone; Kind and Created moved to
  the Metadata card, beside Last mirrored.
- The row keeps Ask Agentiko and Edit values. View blueprint (now a secondary button,
  was the "Blueprint <name> <version>" link), View cluster (remote compositions only),
  Refresh, Pause and Delete are under ⋯; the Dropdown reads composition-detail to
  draw View cluster only for a remote cluster.
- The Relations rows no longer state `health`: the header pill it fed is gone in
  frontend 1.8.182 (krateo-platformops/frontend#916).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant