Skip to content

Remove purchase storage button from other storage [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Ammar Alakkad requested to merge 322897-hide-purchase-storage-button into master

What does this MR do?

Background

We have an MVC epic for defining another bucket of storage (e.g. uploads, snippets, artifacts), the MVC is a duplicate of the current storage app in Usage Quotas page with a minor changes (different data source and hiding the purchase button).

Changes

The MR removes "Purchase more storage" button from other storage app (added in !57121 (merged)), the feature would still under a feature flag introduced in !57121 (merged).

Plan

Merge Request Status
Duplicate the Storage tab under a feature flag (Tests and functionality at once) !57121 (merged)
Exclude the "purchase more storage" button 👈 You are here
Replace data with new data + update tests Upcoming
Replace all duplicated code with original implementation from storage_counter/ or extract it to a shared folder Upcoming

Screenshots

before after
Screen_Shot_2021-03-23_at_20.53.20 Screen_Shot_2021-03-23_at_20.46.20

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #322897

Edited by Ammar Alakkad

Merge request reports