Don't show "payment history" and "payment methods" tabs for users who have not purchased a subscription
Problem
As a customers.gitlab.com user who has not yet made a purchase, it confusing and unexpected to click on the "Payment History" or "Payment Methods" tab but instead be navigated to the /plans
page and see an error.
Details
When a user who has not yet purchased a subscription clicks on the "Payment History" or "Payment Methods" tab, it keeps them on the /plans
page and gives them an error: You need to create a Subscription first.
Proposal
Do not show the "Payment History" or "Payment Methods" tab until the user has purchased a plan.
Result
The pre-purchase user is not confused by unnecessary errors. They also has fewer navigation options which makes it easier for them to complete the goal of visiting customers.gitlab.com: purchasing a plan. This provides a clearer and more efficient user experience in the meantime as we work on https://gitlab.com/gitlab-org/gitlab-ce/issues/63600 and other larger improvements.