Adds manifest columns to Artifact registry manifests table

What does this MR do and why?

The Artifact Registry version list for Docker and OCI images gains three optional columns in the manifests table, Tags, Platforms, and Referrers, matching the Artifact Central design prototype. Tags renders one info badge per tag from the tagsPreview field (the first ten tags), a "+N more" note when tagsCount exceeds the preview, or the word "untagged" when the manifest has no tags. Platforms renders a badge with the number of platform children of a manifest index, the os/architecture label for a single image, or a placeholder dash. Referrers renders a badge with the number of manifests that attach to the row, or the dash.

The values come from fields the ArtifactRegistryManifest GraphQL type already exposes (architecture, os, osVariant, childrenCount, referrersCount, tagsPreview, tagsCount, parentsPreview), so the list query now selects them and no extra request is needed. tagsPreview, parentsPreview, and childrenPreview landed on master in the merge request titled "Expose manifest preview arrays on the list type", and this branch was rebased onto it. All three columns can be hidden from the View options menu. The Copy digest action moved from an inline icon button beside the digest into the row's More actions menu, below View pull command, with a toast on success.

A link icon button now renders beside the digest of any manifest that an index references, taken from the parentsPreview field. Its accessible label reads "Referenced by manifest " (or "manifests" with a comma-separated list). Hovering or focusing it opens a popover reading "referenced by" followed by one link per referencing manifest, each leading to that manifest's detail page. This matches the prototype's link icon with a "referenced by" popover. In the Type column, the subject digest of a referrer ("Signature for ") is now a link to that subject manifest as well.

The shared platform label helper now treats the value "unknown" as absent, so Docker buildx attestation manifests, which report platform unknown/unknown, show the dash instead of a confusing label. The manifest sidebar also hides index children whose platform reads unknown/unknown, which is how buildx stores provenance and SBOM attestations, so the Platforms list names only real platforms. This resolves #630525 (closed).

The sidebar and manifest detail page also drop the monospace styling and section borders, matching the prototype.

References

Screenshots or screen recordings

Description After
Display options Screenshot_2026-09-23_at_4.50.17_pm
Tags, referrers, platforms column Screenshot_2026-09-23_at_11.48.35_pm
For OCI Screenshot_2026-09-23_at_11.49.05_pm
Referrers popover Screenshot_2026-09-23_at_11.53.00_pm

How to set up and validate locally

  1. Enable the feature flag in a Rails console:
    Feature.enable(:artifact_registry_ui)
  2. Have an organization with Artifact Registry configured and a hosted Docker or OCI repository containing at least one multi-platform image (an index with platform children, carrying at least one tag) and one referrer, such as a cosign signature.
  3. Open the organization's Artifact Registry, open the repository, then open the image.
  4. Check that the manifests table shows Tags, Platforms, and Referrers columns, with tag badges, a badge for the index, and correct counts.
  5. Open View options and confirm all three columns can be toggled.
  6. Hover or focus the link icon button beside a platform child's digest and confirm a popover opens reading "referenced by" with a link to the index, and that the link opens the index's detail page.
  7. In the Type column, select the digest in a referrer row such as "Signature for " and confirm it opens the subject manifest's detail page.
  8. Open a buildx-built index manifest and confirm the sidebar's Platforms list shows only real platforms, with no unknown/unknown rows.
  9. Open a row's More actions menu, choose Copy digest, and confirm the toast "Digest copied to clipboard." appears and the digest is on the clipboard.
  10. Run the frontend specs:
    yarn jest ee/spec/frontend/packages_and_registries/artifact_registry

MR acceptance checklist

This MR has been evaluated against the MR acceptance checklist.

  • Frontend only change.
  • EE only change.
  • Behind the default-off artifact_registry_ui feature flag.
  • No changelog entry, because the feature flag is default off.
  • No backend or database changes.
  • New strings added to locale/gitlab.pot.

🤖 Generated with Claude Code

Edited by Rahul Chanila

Merge request reports

Loading
Loading