Skip to content

Migrate flash alerts to GlAlert

Diana Zubova requested to merge dz/349867-use-glalerts-for-checkout-errors into master

What does this MR do and why?

Update alerts for checkout errors when buying addons. Use unified approach (GlAlert) as in !77307 (merged)

Related to #349867 (closed)

Screenshots or screen recordings

Before After
Screenshot_2022-04-19_at_14.31.59 Screenshot_2022-04-19_at_14.32.59

How to set up and validate locally

  1. Run CustomersDot and GitLab locally
  2. Make sure that you have correct settings Gitlab::CurrentSettings.update(automatic_purchased_storage_allocation: true)
  3. Find an existing group with a subscription (Premium or Ultimate)
  4. Open this group 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>
  5. Stub the mutation response to return error and observe error messages

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 Diana Zubova

Merge request reports

Loading