Added internalLinking labs flag (#20006)

ref https://linear.app/tryghost/issue/MOM-1
This commit is contained in:
Kevin Ansfield 2024-04-10 12:13:37 +01:00 committed by GitHub
parent 0cb0e7109a
commit ebd36f2503
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -63,6 +63,10 @@ const features = [{
title: 'Prevent Member Spam Signups',
description: 'Enables features to help combat spam member signups',
flag: 'membersSpamPrevention'
},{
title: 'Internal Linking',
description: 'Adds internal URL search to editor link inputs',
flag: 'internalLinking'
}];
const AlphaFeatures: React.FC = () => {

View File

@ -82,6 +82,7 @@ export default class FeatureService extends Service {
@feature('portalImprovements') portalImprovements;
@feature('onboardingChecklist') onboardingChecklist;
@feature('membersSpamPrevention') membersSpamPrevention;
@feature('internalLinking') internalLinking;
_user = null;

View File

@ -51,7 +51,8 @@ const ALPHA_FEATURES = [
'lexicalIndicators',
// 'adminXOffers',
'adminXDemo',
'membersSpamPrevention'
'membersSpamPrevention',
'internalLinking'
];
module.exports.GA_KEYS = [...GA_FEATURES];