Simplify tier badges
Right now we combine SaaS/self-managed (the "offering") with the subscription tier. Each time we add a new offering, like GitLab Dedicated, we have to create a multitude of new badges to cover all the possibilities.
Maybe we should split the offering from the subscription tier. We currently display them separately anyway:
This issue is to consider how we might do this work.
Current badges
See the list of 9 tier badges here.
New badges
Separating out the tier badges will cut the number down from 9 to 6.
Where feature is available | Tier badge |
---|---|
All tiers. | **(FREE)** |
Premium and Ultimate. | **(PREMIUM)** |
Ultimate. | **(ULTIMATE)** |
GitLab self-managed. | **(SELF)** |
GitLab SaaS. | **(SAAS)** |
Both self-managed and SaaS. | **(ALL)** |
Adding new product offerings
Each product offering (Dedicated, Plus) should be added as its own badge. If multiple badges exist, we'll need to combine them programmatically, or display them separately. We want to avoid having to create dozens of tier badges.
For example, instead of creating a badge for Dedicated + SaaS, and another for Dedicated + self-managed, we will just apply all badges that apply...
(In our current system, we'd have to create Dedicated + SaaS + Free, Dedicated + SaaS + Premium, etc. It would quickly get out of control.)
Where feature is available | Tier badge |
---|---|
All tiers. | **(FREE)** |
Premium and Ultimate. | **(PREMIUM)** |
Ultimate. | **(ULTIMATE)** |
GitLab self-managed. | **(SELF)** |
GitLab SaaS. | **(SAAS)** |
GitLab Dedicated | **(DEDICATED)** |
All product offerings. | **(ALL)** |
(And actually, maybe we don't need All. You'd just add all three badges? Although I guess having an All is a nice shortcut...)