Skip to content

Hide displays of certain plans on billings page

Shreyas Agarwal requested to merge 322043-change-helper into master

What does this MR do?

Whenever an admin visits the billings page of a namespace, we fetch the plans information via CustomersDot and then cache it for a day.

The CustomersDot returns a JSON with the list of plans to be shown and used on the billings page.

Certain plans needs to be hidden from the billings page to be used by the customer like EDU/OSS, Trials etc.

The MR https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/3125 sends the hide_card information from the CustomersDot to SaaS which is used then by this MR to hide the plans on the Billings Page

Screenshots (strongly suggested)

Before After
Screenshot_2021-04-22_at_18.50.33 Screenshot_2021-04-22_at_18.50.54

Conformity

Related to #322043 (closed)

Edited by Shreyas Agarwal

Merge request reports