mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Added collections feature flag
closes https://github.com/TryGhost/Team/issues/3165 - This feature flag is here to gate the development of Collections 2.0 feature
This commit is contained in:
parent
b821136b5e
commit
3eebeb608c
3 changed files with 16 additions and 1 deletions
|
@ -75,6 +75,7 @@ export default class FeatureService extends Service {
|
|||
@feature('announcementBar') announcementBar;
|
||||
@feature('imageEditor') imageEditor;
|
||||
@feature('signupCard') signupCard;
|
||||
@feature('collections') collections;
|
||||
|
||||
_user = null;
|
||||
|
||||
|
|
|
@ -361,6 +361,19 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Collections</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Enables Collections 2.0
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="collections" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -41,7 +41,8 @@ const ALPHA_FEATURES = [
|
|||
'postHistory',
|
||||
'postDiffing',
|
||||
'imageEditor',
|
||||
'signupCard'
|
||||
'signupCard',
|
||||
'collections'
|
||||
];
|
||||
|
||||
module.exports.GA_KEYS = [...GA_FEATURES];
|
||||
|
|
Loading…
Add table
Reference in a new issue