Skip to content

Adds link to google artifact registry settings

Rahul Chanila requested to merge 425154-link-to-artifact-registry-settings into master

What does this MR do and why?

Adds link to google artifact registry settings

This should be visible only for users with permissions to view settings.

Fix issue in smaller viewports

  • the project icon should not shrink
  • the “Open in Google Cloud” button could be moved below to avoid wrapping the text

Integration settings was added in Add GoogleCloudPlatform::ArtifactRegistry integ... (!141127 - merged)

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-01-31_at_1.34.13_pm Screenshot_2024-01-31_at_1.28.57_pm
Screenshot_2024-01-31_at_1.33.59_pm Screenshot_2024-01-31_at_1.29.41_pm

How to set up and validate 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 clicking on the settings icon takes you to the integration settings page.

  6. Change user roles & confirm that settings link is not visible if the user does not have permission.

Related to #425154 (closed)

Edited by Rahul Chanila

Merge request reports