Link to settings from Dependency Proxy

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

  • Dependency Proxy will only show button at group level as Dependency Proxy are only available at the group level
  • Dependency Proxy setting lives alongside ellipsis button to clear the cache. If the ellipsis button is not visible (because the user does not have right to clear the cache) then the settings button aligns with the right of the screen.
  • 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. Pass group packages and registries settings path if permitted via depencency proxy haml
  2. Render settings icon button with tooltip & href in right-actions slot of dependency_proxy/app.vue if settings path exists

Designs

Edited by Rahul Chanila