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:
parent
cf8691d07f
commit
ba74785250
4 changed files with 8 additions and 1 deletions
|
@ -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 = () => {
|
||||
|
|
|
@ -77,6 +77,7 @@ export default class FeatureService extends Service {
|
|||
@feature('ActivityPub') ActivityPub;
|
||||
@feature('editorExcerpt') editorExcerpt;
|
||||
@feature('contentVisibility') contentVisibility;
|
||||
@feature('commentImprovements') commentImprovements;
|
||||
|
||||
_user = null;
|
||||
|
||||
|
|
|
@ -44,7 +44,8 @@ const ALPHA_FEATURES = [
|
|||
'importMemberTier',
|
||||
'lexicalIndicators',
|
||||
'adminXDemo',
|
||||
'contentVisibility'
|
||||
'contentVisibility',
|
||||
'commentImprovements'
|
||||
];
|
||||
|
||||
module.exports.GA_KEYS = [...GA_FEATURES];
|
||||
|
|
|
@ -18,6 +18,7 @@ Object {
|
|||
"audienceFeedback": true,
|
||||
"collections": true,
|
||||
"collectionsCard": true,
|
||||
"commentImprovements": true,
|
||||
"contentVisibility": true,
|
||||
"editorExcerpt": true,
|
||||
"emailCustomization": true,
|
||||
|
|
Loading…
Reference in a new issue