diff options
Diffstat (limited to 'doc/development/ee_features.md')
-rw-r--r-- | doc/development/ee_features.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/development/ee_features.md b/doc/development/ee_features.md index 777bc77875e..869cb0bab0a 100644 --- a/doc/development/ee_features.md +++ b/doc/development/ee_features.md @@ -20,7 +20,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w ## Implement a new EE feature -If you're developing a GitLab Starter, GitLab Premium, or GitLab Ultimate licensed feature, use these steps to +If you're developing a GitLab Premium or GitLab Ultimate licensed feature, use these steps to add your new feature or extend it. GitLab license features are added to [`ee/app/models/gitlab_subscriptions/features.rb`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/models/gitlab_subscriptions/features.rb). To determine how @@ -33,9 +33,9 @@ Use the following questions to guide you: must locate the existing feature identifier to [guard it](#guard-your-ee-feature). - If this is a new feature, decide on an identifier, such as `my_feature_name`, to add to the `features.rb` file. -1. Is this a **GitLab Starter**, **GitLab Premium**, or **GitLab Ultimate** feature? - - Based on the plan you choose to use the feature in, add the feature identifier to `STARTER_FEATURES`, - `PREMIUM_FEATURES`, or `ULTIMATE_FEATURES`. +1. Is this a **GitLab Premium** or **GitLab Ultimate** feature? + - Based on the plan you choose to use the feature in, add the feature identifier to `PREMIUM_FEATURES` + or `ULTIMATE_FEATURES`. 1. Will this feature be available globally (system-wide at the GitLab instance level)? - Features such as [Geo](../administration/geo/index.md) and [Database Load Balancing](../administration/postgresql/database_load_balancing.md) are used by the entire instance @@ -281,7 +281,7 @@ There are a few gotchas with it: overriding the method, because we can't know when the overridden method (that is, calling `super` in the overriding method) would want to stop early. In this case, we shouldn't just override it, but update the original method - to make it call the other method we want to extend, like a + to make it call the other method we want to extend, like a [template method pattern](https://en.wikipedia.org/wiki/Template_method_pattern). For example, given this base: @@ -1128,7 +1128,7 @@ EE licensed features that enhance existing functionality in the UI add new elements or interactions to your Vue application as components. To separate template differences, use a child EE component to separate Vue template differences. -You must import the EE component [asynchronously](https://vuejs.org/v2/guide/components-dynamic-async.html#Async-Components). +You must import the EE component [asynchronously](https://v2.vuejs.org/v2/guide/components-dynamic-async.html#Async-Components). This allows GitLab to load the correct component in EE, while in CE GitLab loads an empty component that renders nothing. This code **must** exist in the CE repository, in addition to the EE repository. |