Added feature flag for page improvements (#17176)

No ref
This commit is contained in:
Sanne de Vries 2023-07-03 09:24:57 +02:00 committed by GitHub
parent 3811999be7
commit 4a6a61b29b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 0 deletions

View File

@ -73,6 +73,7 @@ export default class FeatureService extends Service {
@feature('signupForm') signupForm;
@feature('collections') collections;
@feature('adminXSettings') adminXSettings;
@feature('pageImprovements') pageImprovements;
@feature('mailEvents') mailEvents;
_user = null;

View File

@ -297,6 +297,20 @@
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Page improvements</h4>
<p class="gh-expandable-description">
Enables toggling off page title and feature image
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="pageImprovements" />
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>

View File

@ -39,6 +39,7 @@ const ALPHA_FEATURES = [
'emailCustomization',
'collections',
'adminXSettings',
'pageImprovements',
'mailEvents'
];