feat(#4028): add multi-version list to VersionListCard - #4030
Open
fullsend-ai-coder[bot] wants to merge 1 commit into
Open
feat(#4028): add multi-version list to VersionListCard#4030fullsend-ai-coder[bot] wants to merge 1 commit into
fullsend-ai-coder[bot] wants to merge 1 commit into
Conversation
Replace the single-badge rendering in VersionListCard with a full version list that queries sibling version entities from the catalog. The card now uses catalogApiRef.getEntities() to find all entities sharing the same rhdh.io/ai-asset-name annotation. Results are sorted by version (semver-aware, newest first) and rendered as a list with: - "current" label on the version matching the viewed entity - "recommended" badge for rhdh.io/ai-asset-recommended entities - Navigation links on non-current versions via entityHref() - Loading skeleton while the catalog query is in flight - Graceful fallback to single-version display on fetch error Also adds: - i18n keys for versionRecommended and versionNavigate - A second fixture entity (code-review-skill-v1 at 1.0.0) for the dev app to exercise multi-version behavior - Unit tests covering single version, multiple versions, recommended badge, no-version, loading state, and nav links Closes #4028
fullsend-ai-coder
Bot
requested review from
durandom and
gabemontero
as code owners
July 28, 2026 09:57
fullsend-ai-coder
Bot
requested review from
a team,
johnmcollier,
mareklibra and
rohitkrai03
as code owners
July 28, 2026 09:57
Missing ChangesetsThe following package(s) are changed by this PR but do not have a changeset:
See CONTRIBUTING.md for more information about how to add changesets. Changed Packages
|
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Replace the single-badge rendering in VersionListCard with a full version list that queries sibling version entities from the catalog.
The card now uses catalogApiRef.getEntities() to find all entities sharing the same rhdh.io/ai-asset-name annotation. Results are sorted by version (semver-aware, newest first) and rendered as a list with:
Also adds:
the dev app to exercise multi-version behavior
recommended badge, no-version, loading state, and nav links
Closes #4028
Post-script verification
agent/4028-version-list-card)9cfc354095c029b95e030e58fd983bb316437f09..HEAD)