Skip to content

Add Export seat usage history button to Usage Quotas - Seats Page

Sheldon Led requested to merge led/351280-gitlab-subscription-history-ui into master

What does this MR do and why?

This implements https://gitlab.com/gitlab-org/gitlab/-/issues/468888 as part of https://gitlab.com/groups/gitlab-org/-/epics/14290

In this MR we add an export CSV button to the Usage Quotas - Seats Page so that group owners can download a CSV with their subscription history, as mentioned here: https://gitlab.com/groups/gitlab-org/-/epics/14290#note_1997562317

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshot Screen recording CSV example
export_subscription_history_uq export_subscription_history_uq subscription-history-paid-group3-2024-07-31

Example of CSV file: subscription-history-paid-group3-2024-07-31.csv

How to set up and validate locally

  1. Pick a group with a paid subscription
  2. Go to the Usage Quotas page: https://gdk.test:3443/groups/<your-group>/-/usage_quotas
  3. Click "Export seat usage history" in the seats tab's right-hand-side card
Edited by Sheldon Led

Merge request reports

Loading