Added feature flag for import tier functionality (#17480)

refs https://github.com/TryGhost/Product/issues/3629
This commit is contained in:
Michael Barrett 2023-07-25 10:52:52 +01:00 committed by GitHub
parent 0b00c653cc
commit 8095843939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 1 deletions

View File

@ -78,6 +78,7 @@ export default class FeatureService extends Service {
@feature('mailEvents') mailEvents;
@feature('collectionsCard') collectionsCard;
@feature('headerUpgrade') headerUpgrade;
@feature('importMemberTier') importMemberTier;
_user = null;

View File

@ -366,6 +366,20 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Import Member Tier</h4>
<p class="gh-expandable-description">
Enables tier to be specified when importing members
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="importMemberTier" />
</div>
</div>
</div>
</div>
</div>
{{/if}}

View File

@ -42,7 +42,8 @@ const ALPHA_FEATURES = [
'flatUrls',
'mailEvents',
'collectionsCard',
'headerUpgrade'
'headerUpgrade',
'importMemberTier'
];
module.exports.GA_KEYS = [...GA_FEATURES];