Skip to content

feat(ui): show certified version link on Galaxy collection pages#5576

Open
stevefulme1 wants to merge 1 commit intoansible:masterfrom
stevefulme1:feat/certified-version-link
Open

feat(ui): show certified version link on Galaxy collection pages#5576
stevefulme1 wants to merge 1 commit intoansible:masterfrom
stevefulme1:feat/certified-version-link

Conversation

@stevefulme1
Copy link
Copy Markdown

Summary

  • Adds an inline info alert on Galaxy collection detail pages linking to the corresponding collection on Red Hat Automation Hub
  • Message: "A Red Hat certified version of this collection may be available on Red Hat Automation Hub" with a direct link to console.redhat.com/ansible/automation-hub/repo/published/{namespace}/{collection}
  • Only renders in community mode (IS_COMMUNITY) — no effect on Hub deployments
  • Placed inside the collection header, below the deprecation alert and above the tab navigation

Approach

This is an initial implementation using a direct link approach — the badge appears on all Galaxy collection pages since the frontend doesn't currently have a way to query Hub's certification status. A future enhancement (backend API lookup) could make this conditional on actual certification status.

Ref: AAP-53672

Test plan

  • Verify info alert appears on Galaxy collection detail pages with correct Hub link
  • Verify the link URL correctly includes the collection's namespace and name
  • Verify the alert does NOT appear on Hub/standalone deployments
  • Verify TypeScript compiles without errors (npm run lint:ts)

🤖 Generated with Claude Code

Add an info alert on Galaxy collection detail pages indicating that
a Red Hat certified version may be available on Automation Hub, with
a direct link to the collection on Hub. Only renders in community
mode (IS_COMMUNITY).

Ref: AAP-53672

Co-Authored-By: Claude Opus 4.6 <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