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,
|
fetchLabels,
|
||||||
feature: {
|
feature: {
|
||||||
signupCard: true,
|
signupCard: true,
|
||||||
|
collectionsCard: this.feature.get('collectionsCard'),
|
||||||
|
collections: this.feature.get('collections'),
|
||||||
headerV2: this.feature.get('headerUpgrade')
|
headerV2: this.feature.get('headerUpgrade')
|
||||||
},
|
},
|
||||||
membersEnabled: this.settings.get('membersSignupAccess') === 'all',
|
membersEnabled: this.settings.get('membersSignupAccess') === 'all',
|
||||||
|
@ -76,6 +76,7 @@ export default class FeatureService extends Service {
|
|||||||
@feature('pageImprovements') pageImprovements;
|
@feature('pageImprovements') pageImprovements;
|
||||||
@feature('flatUrls') flatUrls;
|
@feature('flatUrls') flatUrls;
|
||||||
@feature('mailEvents') mailEvents;
|
@feature('mailEvents') mailEvents;
|
||||||
|
@feature('collectionsCard') collectionsCard;
|
||||||
@feature('headerUpgrade') headerUpgrade;
|
@feature('headerUpgrade') headerUpgrade;
|
||||||
|
|
||||||
_user = null;
|
_user = null;
|
||||||
|
@ -283,6 +283,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</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-block">
|
||||||
<div class="gh-expandable-header">
|
<div class="gh-expandable-header">
|
||||||
<div>
|
<div>
|
||||||
|
@ -42,6 +42,7 @@ const ALPHA_FEATURES = [
|
|||||||
'pageImprovements',
|
'pageImprovements',
|
||||||
'flatUrls',
|
'flatUrls',
|
||||||
'mailEvents',
|
'mailEvents',
|
||||||
|
'collectionsCard',
|
||||||
'headerUpgrade'
|
'headerUpgrade'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user