Skip to content

Add route + feature flag for project storage UI

Sheldon Led requested to merge led/334882-project-storage-route-ff into master

What does this MR do?

Resolves https://gitlab.com/gitlab-org/gitlab/-/issues/334882

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/334883

This is the initial work of Project Storage UI, which adds the feature flag and the route for usage_quotas at project level

Screenshots or Screencasts (strongly suggested)

initial_project_storage_ui

How to setup and validate locally (strongly suggested)

  1. Enable project_storage_ui feature flag. Go to rails console and execute the following:
    Feature.enable(:project_storage_ui)
  2. Visit /<namespace>/<project>/-/usage_quotas on a project you have maintainer permission
  3. You should see a page like the screenshot above
  • If you don't have maintainer permission on a project, you should see a 404 page
  • If you have project_storage_ui feature flag disabled, you should see a 404 page

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Sheldon Led

Merge request reports