Skip to content

Separates out Container Registry on project Usage Quotas

What does this MR do and why?

This MR

  • separates out Container Registry entry on U/Q project page into a separate table.
  • removes Container Registry from the Bar Graph at the page top.

Related to #419421

Screenshots or screen recordings

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

Before After
before after

How to set up and validate locally

Open a local project Usage Quotas Storage page (e.g. http://127.0.0.1:3000/gitlab-org/gitlab-test/-/usage_quotas#storage-quota-tab)

If you need to mock any particular value of the project storage — you can adjust values via Rails Console:

rails c
> 
project = Project.find_by_full_path('gitlab-org/gitlab-test') # find the project
project.statistics # to see all the props that can be adjusted
project.statistics.repository_size = 42.megabytes # set one or many of the values
project.statistics.save # save the changes

Reload the page.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kos Palchyk

Merge request reports

Loading