Added postHistory feature flag (#16645)
no issue Added flag to enable / disable post history from within the editor
This commit is contained in:
parent
7f184d2451
commit
8dff121f73
@ -73,6 +73,7 @@ export default class FeatureService extends Service {
|
||||
@feature('makingItRain') makingItRain;
|
||||
@feature('migrateApp') migrateApp;
|
||||
@feature('i18n') i18n;
|
||||
@feature('postHistory') postHistory;
|
||||
|
||||
_user = null;
|
||||
|
||||
|
@ -305,6 +305,19 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Post history</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Enables post history revision within the editor
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="postHistory" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -39,7 +39,8 @@ const ALPHA_FEATURES = [
|
||||
'lexicalMultiplayer',
|
||||
'websockets',
|
||||
'stripeAutomaticTax',
|
||||
'makingItRain'
|
||||
'makingItRain',
|
||||
'postHistory'
|
||||
];
|
||||
|
||||
module.exports.GA_KEYS = [...GA_FEATURES];
|
||||
|
Loading…
Reference in New Issue
Block a user