Fix project storage usage legend order of items
What does this MR do and why?
Fixes #345190, by sorting usage quota list to reflect the legend above it. Previously only the legend was sorted by space usage in descending order. This MR adds the same sorting for the list.
Screenshots or screen recordings
Project Usage Quotas
before | after |
---|---|
Group Usage Quotas
before | after |
---|---|
Namespace Usage Quotas
before | after |
---|---|
How to set up and validate locally
This change affects 3 pages. Some of them are only available for GitLab EE, so make sure your local instance has a valid license.
- Group Usage Quotas:
- Go to your Group page
- Under
Settings
, selectUsage Quotas
- On
Usage Quotas
, select the Storage Tab, URL example:http://gdk.test:3000/groups/gitlab-org/-/usage_quotas#storage-quota-tab
- Open each project(s) and check if the storage types are ordered by usage size
- Project Usage Quotas:
- Go to your Project page
- Under
Settings
, selectUsage Quotas
- On
Usage Quotas
, select the Storage Tab, URL example:http://gdk.test:3000/gitlab-org/gitlab-test/-/usage_quotas#storage-quota-tab
- Check if both Usage Graph and Usage Table are ordered the same way, by usage size
- Personal Usage Quotas:
- Go to your Profile Preferences
- On the left sidebar, select
Usage Quotas
- On
Usage Quotas
, select the Storage Tab, URL example:http://gdk.test:3000/-/profile/usage_quotas#storage-quota-tab
- Open each project(s) and check if the storage types are ordered by usage size
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Kos Palchyk