Skip to content

Add namespace stats download button

Ammar Alakkad requested to merge 422501-add-namespace-stats-download-button into master

What does this MR do and why?

It adds stats download button to the admin controls page.

Note: we can skip the UX review for now, the whole feature will undergo UX/TW review when it's ready.

Screenshots or screen recordings

Before After
Screenshot_2023-10-09_at_18.10.58 Screenshot_2023-10-11_at_10.59.27

How to set up and validate locally

  • In bin/rails console run:

      Feature.enable(:namespace_limits_admin_dashboard)
      ::Gitlab::CurrentSettings.update(check_namespace_plan: true)
  • Simulate saas and restart your gdk

    $ export GITLAB_SIMULATE_SAAS=1
    $ gdk restart
  • Visit /admin/namespace_limits as root

  • Use the export button (you should see a flash message)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #422501

Edited by Ammar Alakkad

Merge request reports