Skip to content

Commit 4cdebae

Browse files
committed
✨ Added publisher gift links
no issue Publishers can now share paywalled posts and pages with anyone via gift links, without comping a subscription or making the content public. Watch https://ghost.org/changelog for full details
1 parent 00fd975 commit 4cdebae

3 files changed

Lines changed: 4 additions & 7 deletions

File tree

apps/admin-x-settings/src/components/settings/advanced/labs/private-features.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ const features: Feature[] = [{
7171
title: 'Get helper deduplication',
7272
description: 'Deduplicate identical {{#get}} helper queries within a single request to avoid redundant database calls',
7373
flag: 'getHelperDeduplication'
74-
}, {
75-
title: 'Gift links',
76-
description: 'Tokenized links that let anyone read a single gated post or page in full, no account required',
77-
flag: 'giftLinks'
7874
}];
7975

8076
const AlphaFeatures: React.FC = () => {

ghost/admin/mirage/fixtures/settings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export default [
107107
// LABS
108108
setting('labs', 'labs', JSON.stringify({
109109
// Keep the GA flags that are not yet cleaned up in frontend code here
110+
giftLinks: true
110111
})),
111112

112113
// SLACK

ghost/core/core/shared/labs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ const GA_FEATURES = [
2929
'featurebaseFeedback',
3030
'dangerZoneResetAuth',
3131
'indexnow',
32-
'llmsTxt'
32+
'llmsTxt',
33+
'giftLinks'
3334
];
3435

3536
// These features are considered publicly available and can be enabled/disabled by users
@@ -56,8 +57,7 @@ const PRIVATE_FEATURES = [
5657
'themeTranslation',
5758
'pictureImageFormats',
5859
'smarterCounts',
59-
'getHelperDeduplication',
60-
'giftLinks'
60+
'getHelperDeduplication'
6161
];
6262

6363
module.exports.GA_KEYS = [...GA_FEATURES];

0 commit comments

Comments
 (0)