Skip to content

Change usage quotas projects sorting for SaaS project limits = 0 state

What does this MR do and why?

Uses total column sorting and displays purchase storage button for when in Project enforcement with 0 limits (no limits).

Related to #429072

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

You'll need a SaaS instance, with project limits set to 0. To set the project limits to 0, run in rails c:

Gitlab::CurrentSettings.update!(repository_size_limit: 0)

Alternatively, you can test this and other states using storybook (http://localhost:9002/?path=/story/ee-usage-quotas-storage-namespace-storage-app--saas-with-no-limits).

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