Skip to content

Setup `Transfer` tab Vue app in project usage quotas

Peter Hegman requested to merge 387392-setup-project-data-transfer-vue-app into master

What does this MR do and why?

Related to #387392

We are building a dashboard at the group and project level to track egress data transfer. We started with the group level and now are moving onto the project level. This MR takes care of all the boilerplate to get the Vue app setup at the project level. For now it will be an EE feature but we will move it to CE in &7176 (closed) once all the scaffolding is ready.

The rest of this dashboard will be built in https://gitlab.com/gitlab-org/gitlab/-/issues/387396

Screenshots or screen recordings

EE

Screenshot_2023-03-30_at_11.01.49_AM

CE

Screenshot_2023-03-30_at_11.10.55_AM

How to set up and validate locally

Enable the data_transfer_monitoring feature flag.

bin/rails console
Feature.enable(:data_transfer_monitoring)

EE

  1. Navigate to a project -> Settings -> Usage quotas
  2. You should see a Transfer tab

CE

  1. Start GDK in FOSS_ONLY
    • export FOSS_ONLY=1 && gdk restart
  2. Navigate to a project -> Settings -> Usage quotas
  3. There should not be a Transfer tab

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 Peter Hegman

Merge request reports