0
Fork 0
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:
Naz 2023-05-11 16:30:58 +07:00
parent b821136b5e
commit 3eebeb608c
No known key found for this signature in database
3 changed files with 16 additions and 1 deletions

View file

@ -75,6 +75,7 @@ export default class FeatureService extends Service {
@feature('announcementBar') announcementBar;
@feature('imageEditor') imageEditor;
@feature('signupCard') signupCard;
@feature('collections') collections;
_user = null;

View file

@ -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}}

View file

@ -41,7 +41,8 @@ const ALPHA_FEATURES = [
'postHistory',
'postDiffing',
'imageEditor',
'signupCard'
'signupCard',
'collections'
];
module.exports.GA_KEYS = [...GA_FEATURES];