Move storage app to CE

After creating the parent Vue app for Usage Quotas in Create Vue app in CE (#371821 - closed) we can move the storage tab to the core codebase (under the /app directory) so it is available for all editions.

The storage tab should behave differently in these scenarios:

GitLab EE

Setup this scenario by having a test license in your GDK.

We shouldn't show the purchase button because we're in a Self-Managed scenario. The page should look like:

ee_usage_quotas

GitLab SaaS

Setup this scenario by setting up a license like the above and simulating SaaS.

The page should look like:

saas_usage_quotas

GitLab EE Unlicensed

Setup this scenario by removing your license in http://gdk.test:3000/admin/subscription and stop simulating SaaS.

The page should look like in CE

eeu_usage_quotas

GitLab CE

Setup this scenario by executing FOSS_ONLY=1 gdk restart.

Tanuki gdk website icon (the icon in the browser tab) should be blue, then you're in CE. The page should look like:

ce_usage_quotas

Implementation plan

Description MR
Introduce NamespaceStorageApp in core !138689 (merged)
Create StorageUsageStatistics in CE !139111 (merged)
Move DependencyProxyUsage to CE !139248 (merged)
Move ContainerRegistryUsage to CE !139252 (merged)
Move SearchAndSortBar to CE !139434 (merged)
Move ProjectList to CE !139449 (merged)
Finish moving NamespaceStorageApp to CE !139568 (merged)
First implementation attempt
Description MR
Move Storage App to Core: Backend and initial frontend !108332 (closed)
Move storage app to Core: namespace vue app !108333 (closed)
Other development notes
  • PoC: !96213 (closed)
  • PoC commit for this issue: 2d2f1990
  • Initial development notes: split EE features, graphql queries, make sure it shows in CE
Edited by Sheldon Led