Skip to content

[CI Minutes] Add success banner

What does this MR do?

This MR is part of a sequence that addresses #321645 (closed). We're adding:

  • the HAML banner is to be shown after a successful purchase
  • the preparatory logic to provide the frontend with the correct redirect URL for the successful CI minutes purchase
Add backend preparatory logic and banner 👈 you are here
Add frontend logic to show banner after successful purchase !66451 (merged)

Note that:

  • the feature is behind a feature flag
  • the new path to purchase subscriptions is not yet exposed

To test this one, simply navigate to: /groups/my-ci-minutes-group/-/usage_quotas?purchased_product=%22CI%20Minutes%22 (note that Usage Quotas will only be available on GDK with a license, mimicking SaaS)

Screenshots or Screencasts (strongly suggested)

Screenshot_2021-07-27_at_10.40.09

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Angelo Gulina

Merge request reports