Skip to content

Adds sort by updateTime to google artifact registry table UI

Rahul Chanila requested to merge 425154-gar-list-sorting into master

What does this MR do and why?

Adds sort by updateTime to google artifact registry table UI

Also improves header right actions responsiveness

Improves tags related tests.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-02-06_at_11.56.14_am Screenshot_2024-02-06_at_11.55.24_am
Header responsive
Screenshot_2024-02-06_at_11.55.54_am Screenshot_2024-02-06_at_11.56.35_am

How to set up and validate locally

Note: The actual GraphQL API is being implemented GraphQL: get GAR artifacts from project (#425149 - closed) & wont be ready. The UI changes in within in this feature flag are using resolvers & @client apollo config to resolve mock data locally.

  1. Enable container registry in the gdk https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md#set-up-container-registry-to-display-in-ui-only

  2. Simulate a SAAS instance in local GDK

  3. In rails console enable the experiment

    Feature.enable(:gcp_artifact_registry)
  4. Visit Project > Deploy > Google Artifact Registry

  5. Confirm sorting behaviour.

Related to #425154 (closed)

Edited by Rahul Chanila

Merge request reports

Loading