Create Vue app in CE
After Create Group Usage Quotas view in Core (#371820 - closed) we need to create a view app in Vue that we will use to hook up the tabs (storage
, pipelines
, seats
).
The storage
tab will be rendered in all editions (#371824 (closed) and #352624 (closed)), while the pipelines
(#371823 (closed)) and the seats
(#371822 (closed)) tabs will be only available to Enterprise Edition, using dynamic imports
Screenshot
Implementation plan
MR: Create usage quotas Vue app (!107359 - merged)
Other development notes
- PoC: !96213 (closed)
- PoC commit: d6b0efd8
- Initial development notes: Make sure this works in
CE
(i.e. no/ee
folder)
TLDR; move ee/
code references for usage quotas out of that namespace, and amend the usage_quotas
license feature.
This issue was created to discuss and implement what we decide regarding the availability of Usage Quotas features depending on what GitLab edition we're running.
After pointed out here (!75351 (comment 749674599)) and here (!75622 (comment 750713344)) by reviewers regarding this concern, I decided to check how Usage Quotas is available before and after the code implemented here: https://gitlab.com/gitlab-org/gitlab/-/issues/346506 and https://gitlab.com/gitlab-org/gitlab/-/issues/346530
After we discussed here (#347125 (comment 752022759)) we decided to make Usage Quotas functionality available for all editions:
Some Clarifiction: You'll see here that we only mention EE
and CE
so what is FOSS
? Here's what each edition means in this context:
- Gitlab EE: EE codebase, Paid Customer (Licensed), EE features
- GitLab CE: EE codebase, Free Customer (no license), CE features and no EE features
- GitLab FOSS: FOSS repository (no EE code), Free Customer (no license), CE features and no EE features
Technically, what I describe here as CE
is an edge case (a valid scenario, possible when installing from source because the user could choose the EE repository). Officially CE
uses the FOSS
codebase, so we might use these terms interchangeably. Because these 3 scenarios are possible I decided to test Usage Quotas against them all and make sure we have the desired outcome
Before
Feature | EE | CE | FOSS |
---|---|---|---|
Group Usage Quotas Menu Item | |||
Group Usage Quotas Page | |||
Project Usage Quotas Menu Item | |||
Project Usage Quotas Page | |||
Personal Usage Quotas Menu Item | |||
Personal Usage Quotas Page |
https://gitlab.com/gitlab-org/gitlab/-/issues/346506 and https://gitlab.com/gitlab-org/gitlab/-/issues/346530
AfterFeature | EE | CE | FOSS |
---|---|---|---|
Group Usage Quotas Menu Item | |||
Group Usage Quotas Page | |||
Project Usage Quotas Menu Item | |||
Project Usage Quotas Page | |||
Personal Usage Quotas Menu Item | |||
Personal Usage Quotas Page |
Desired output
Feature | EE | CE | FOSS |
---|---|---|---|
Group Usage Quotas Menu Item | |||
Group Usage Quotas Page | |||
Project Usage Quotas Menu Item | |||
Project Usage Quotas Page | |||
Personal Usage Quotas Menu Item | |||
Personal Usage Quotas Page |