diff --git a/ghost/admin/app/components/koenig-lexical-editor.js b/ghost/admin/app/components/koenig-lexical-editor.js index 9ebf3ca2ce..284e3f138f 100644 --- a/ghost/admin/app/components/koenig-lexical-editor.js +++ b/ghost/admin/app/components/koenig-lexical-editor.js @@ -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', diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index 0f486913bf..aaa9431148 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -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; diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index 29613f4618..5a5289dbcb 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -283,6 +283,20 @@ +
+
+
+

Collections Card

+

+ Enables the Collections Card for pages - requires Collections and the beta Editor to be enabled +

+
+
+ +
+
+
+
diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index ca20fe71a0..718d039fd0 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -42,6 +42,7 @@ const ALPHA_FEATURES = [ 'pageImprovements', 'flatUrls', 'mailEvents', + 'collectionsCard', 'headerUpgrade' ];