mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Added alpha flag for collections card (#17246)
no refs -alpha flag for collections card for pages
This commit is contained in:
parent
0c309454cf
commit
5d39e4c612
@ -278,6 +278,8 @@ export default class KoenigLexicalEditor extends Component {
|
||||
fetchLabels,
|
||||
feature: {
|
||||
signupCard: true,
|
||||
collectionsCard: this.feature.get('collectionsCard'),
|
||||
collections: this.feature.get('collections'),
|
||||
headerV2: this.feature.get('headerUpgrade')
|
||||
},
|
||||
membersEnabled: this.settings.get('membersSignupAccess') === 'all',
|
||||
|
@ -76,6 +76,7 @@ export default class FeatureService extends Service {
|
||||
@feature('pageImprovements') pageImprovements;
|
||||
@feature('flatUrls') flatUrls;
|
||||
@feature('mailEvents') mailEvents;
|
||||
@feature('collectionsCard') collectionsCard;
|
||||
@feature('headerUpgrade') headerUpgrade;
|
||||
|
||||
_user = null;
|
||||
|
@ -283,6 +283,20 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Collections Card</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Enables the Collections Card for pages - requires Collections and the beta Editor to be enabled
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="collectionsCard" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
|
@ -42,6 +42,7 @@ const ALPHA_FEATURES = [
|
||||
'pageImprovements',
|
||||
'flatUrls',
|
||||
'mailEvents',
|
||||
'collectionsCard',
|
||||
'headerUpgrade'
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user