Show expiration date for non-prorated purchases
What does this MR do and why?
Show subscription dates for all Storage purchases (not just prorated ones)
Related to #327896 (comment 808721969)
Screenshots or screen recordings
Dates for prorated storage () | Dates for not-prorated storage |
---|---|
How to set up and validate locally
- Run CustomersDot and GitLab locally
- On your local GitLab instance enable a feature toggle
- Run rails c
- Run
Feature.enable(:new_route_storage_purchase)
to enable the feature flag for Storage flow - Make sure that you have correct settings
Gitlab::CurrentSettings.update(automatic_purchased_storage_allocation: true)
- Find an existing group with a subscription (Premium or Ultimate)
- Open this group page and navigate to Settings -> Usage Quotas -> Storage click “Purchase more storage” OR use a fast forward link http://localhost:3000/-/subscriptions/buy_storage?selected_group=<id_of_an_existing_group>
- Check that the dates are shown and the Storage subscription ends at the same date as the main subscription AND
- Create a new group
- Open this group page and navigate to Settings -> Usage Quotas -> Storage click “Purchase more storage” OR use a fast forward link http://localhost:3000/-/subscriptions/buy_storage?selected_group=<id_of_an_existing_group>
- Check that the dates are shown and it's a full year starting from today
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Diana Zubova