Added publishingFlow labs flag toggle

refs 05da593516

- used for switching between old publish menu and new publishing flow
This commit is contained in:
Kevin Ansfield 2022-04-20 16:48:54 +01:00
parent c94b80dd4b
commit f5fef46856
2 changed files with 28 additions and 40 deletions

View File

@ -49,52 +49,27 @@ export default class FeatureService extends Service {
@service lazyLoader;
// features
@feature('emailAnalytics')
emailAnalytics;
@feature('emailAnalytics') emailAnalytics;
// user-specific flags
@feature('nightShift', {user: true, onChange: '_setAdminTheme'})
nightShift;
// labs flags
@feature('multipleProducts')
multipleProducts;
@feature('dashboardV5')
dashboardV5;
@feature('oauthLogin')
oauthLogin;
@feature('membersActivity')
membersActivity;
@feature('urlCache')
urlCache;
@feature('beforeAfterCard')
beforeAfterCard;
@feature('multipleNewsletters')
multipleNewsletters;
@feature('tweetGridCard')
tweetGridCard;
@feature('improvedOnboarding')
improvedOnboarding;
@feature('tierWelcomePages')
tierWelcomePages;
@feature('tierName')
tierName;
@feature('membersTableStatus')
membersTableStatus;
@feature('selectablePortalLinks')
selectablePortalLinks;
@feature('multipleProducts') multipleProducts;
@feature('dashboardV5') dashboardV5;
@feature('oauthLogin') oauthLogin;
@feature('membersActivity') membersActivity;
@feature('urlCache') urlCache;
@feature('beforeAfterCard') beforeAfterCard;
@feature('multipleNewsletters') multipleNewsletters;
@feature('tweetGridCard') tweetGridCard;
@feature('improvedOnboarding') improvedOnboarding;
@feature('tierWelcomePages') tierWelcomePages;
@feature('tierName') tierName;
@feature('membersTableStatus') membersTableStatus;
@feature('selectablePortalLinks') selectablePortalLinks;
@feature('publishingFlow') publishingFlow;
_user = null;

View File

@ -322,6 +322,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Publishing flow</h4>
<p class="gh-expandable-description">
Revised workflow experience when publishing/scheduling/sending
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="publishingFlow" />
</div>
</div>
</div>
</div>
</div>
{{/if}}