Skip to content

Link to settings from Container Registry

Problem

In solution validation, when asked to change configuration on the package registry, customers went to the package registry itself (dovetail insight).

In order to increase discoverability of the settings, a subsequent design was tested placing a link from the feature page to settings in the registry UI, e.g.: 1_copy

The findings of this research were also documented in Pajamas.

Proposal

  • Container Registry will only show button at project level as container registry settings are only available at project
  • Settings button should not show for users who are developer or below (and thus cannot see the settings)
  • Navigating to the settings from the feature page opens the corresponding section in the settings.

Implementation Guide

Similar MR for package registry list page - !116060 (merged)

  1. config.showCleanupPolicyLink & config.cleanupPoliciesSettingsPath are already available which can be reused to Pass config.show_container_registry_settings via haml file & reuse config.cleanupPoliciesSettingsPath to
  2. Render settings icon button with tooltip & href in container_registry/pages/list.vue if config.showCleanupPolicyLink config.show_container_registry_settings is true

Designs

Edited by Rahul Chanila