Skip to content

feat(#4027): add metadata badges to SummaryCard entity card - #4029

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/4027-summarycard-metadata
Open

feat(#4027): add metadata badges to SummaryCard entity card#4029
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/4027-summarycard-metadata

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Enhance SummaryCard to show key AI asset metadata at a glance:

  • Category badge with icon and color from getCategoryMeta()
  • Version badge from rhdh.io/ai-asset-version annotation
  • Lifecycle badge (green for production, amber for experimental)
  • Source connector text from rhdh.io/ai-asset-source annotation
  • Existing description and rationale rendering preserved

Add i18n keys for new labels (summaryCategory, summaryVersion, summarySource, summaryLifecycle, and lifecycle state labels).

Add SummaryCard.test.tsx with 8 tests covering full metadata, missing fields, category meta colors, lifecycle badge colors, empty entity null return, and description/rationale regression.


Closes #4027

Post-script verification

  • Branch is not main/master (agent/4027-summarycard-metadata)
  • Secret scan passed (gitleaks — 9cfc354095c029b95e030e58fd983bb316437f09..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

Enhance SummaryCard to show key AI asset metadata at a glance:
- Category badge with icon and color from getCategoryMeta()
- Version badge from rhdh.io/ai-asset-version annotation
- Lifecycle badge (green for production, amber for experimental)
- Source connector text from rhdh.io/ai-asset-source annotation
- Existing description and rationale rendering preserved

Add i18n keys for new labels (summaryCategory, summaryVersion,
summarySource, summaryLifecycle, and lifecycle state labels).

Add SummaryCard.test.tsx with 8 tests covering full metadata,
missing fields, category meta colors, lifecycle badge colors,
empty entity null return, and description/rationale regression.

Closes #4027
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Jul 28, 2026
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Jul 28, 2026
@rhdh-gh-app

rhdh-gh-app Bot commented Jul 28, 2026

Copy link
Copy Markdown

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @red-hat-developer-hub/backstage-plugin-boost

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-boost workspaces/boost/plugins/boost none v0.3.0

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

⚠️ JUnit XML file not found

The CLI was unable to find any JUnit XML files to upload.
For more help, visit our troubleshooting guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Agent PR ready for human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

boost: Flesh out SummaryCard with category badge, version, source, and lifecycle

0 participants