0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Added comment improvements feature flag (#20986)

ref PLG-229

- Added `commentImprovements` feature flag toggle
This commit is contained in:
Ronald Langeveld 2024-09-12 14:49:22 +09:00 committed by GitHub
parent cf8691d07f
commit ba74785250
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 1 deletions

View file

@ -55,6 +55,10 @@ const features = [{
title: 'Content Visibility',
description: 'Enables content visibility in Emails',
flag: 'contentVisibility'
}, {
title: 'Comment Improvements',
description: 'Enables new comment features',
flag: 'commentImprovements'
}];
const AlphaFeatures: React.FC = () => {

View file

@ -77,6 +77,7 @@ export default class FeatureService extends Service {
@feature('ActivityPub') ActivityPub;
@feature('editorExcerpt') editorExcerpt;
@feature('contentVisibility') contentVisibility;
@feature('commentImprovements') commentImprovements;
_user = null;

View file

@ -44,7 +44,8 @@ const ALPHA_FEATURES = [
'importMemberTier',
'lexicalIndicators',
'adminXDemo',
'contentVisibility'
'contentVisibility',
'commentImprovements'
];
module.exports.GA_KEYS = [...GA_FEATURES];

View file

@ -18,6 +18,7 @@ Object {
"audienceFeedback": true,
"collections": true,
"collectionsCard": true,
"commentImprovements": true,
"contentVisibility": true,
"editorExcerpt": true,
"emailCustomization": true,