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',
|
title: 'Content Visibility',
|
||||||
description: 'Enables content visibility in Emails',
|
description: 'Enables content visibility in Emails',
|
||||||
flag: 'contentVisibility'
|
flag: 'contentVisibility'
|
||||||
|
}, {
|
||||||
|
title: 'Comment Improvements',
|
||||||
|
description: 'Enables new comment features',
|
||||||
|
flag: 'commentImprovements'
|
||||||
}];
|
}];
|
||||||
|
|
||||||
const AlphaFeatures: React.FC = () => {
|
const AlphaFeatures: React.FC = () => {
|
||||||
|
|
|
@ -77,6 +77,7 @@ export default class FeatureService extends Service {
|
||||||
@feature('ActivityPub') ActivityPub;
|
@feature('ActivityPub') ActivityPub;
|
||||||
@feature('editorExcerpt') editorExcerpt;
|
@feature('editorExcerpt') editorExcerpt;
|
||||||
@feature('contentVisibility') contentVisibility;
|
@feature('contentVisibility') contentVisibility;
|
||||||
|
@feature('commentImprovements') commentImprovements;
|
||||||
|
|
||||||
_user = null;
|
_user = null;
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,8 @@ const ALPHA_FEATURES = [
|
||||||
'importMemberTier',
|
'importMemberTier',
|
||||||
'lexicalIndicators',
|
'lexicalIndicators',
|
||||||
'adminXDemo',
|
'adminXDemo',
|
||||||
'contentVisibility'
|
'contentVisibility',
|
||||||
|
'commentImprovements'
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports.GA_KEYS = [...GA_FEATURES];
|
module.exports.GA_KEYS = [...GA_FEATURES];
|
||||||
|
|
|
@ -18,6 +18,7 @@ Object {
|
||||||
"audienceFeedback": true,
|
"audienceFeedback": true,
|
||||||
"collections": true,
|
"collections": true,
|
||||||
"collectionsCard": true,
|
"collectionsCard": true,
|
||||||
|
"commentImprovements": true,
|
||||||
"contentVisibility": true,
|
"contentVisibility": true,
|
||||||
"editorExcerpt": true,
|
"editorExcerpt": true,
|
||||||
"emailCustomization": true,
|
"emailCustomization": true,
|
||||||
|
|
Loading…
Reference in a new issue