mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
refs https://github.com/TryGhost/Product/issues/3744
- this reverts GA commit 4e338114de
, as
launch has been postponed by a week
This commit is contained in:
parent
2d4959d972
commit
5c43945b94
5 changed files with 22 additions and 3 deletions
|
@ -47,6 +47,10 @@ const features = [{
|
|||
title: 'Tips & donations',
|
||||
description: 'Enables publishers to collect one-time payments',
|
||||
flag: 'tipsAndDonations'
|
||||
},{
|
||||
title: 'Recommendations',
|
||||
description: 'Enables publishers to recommend sites to their audience',
|
||||
flag: 'recommendations'
|
||||
}];
|
||||
|
||||
const AlphaFeatures: React.FC = () => {
|
||||
|
|
|
@ -50,6 +50,7 @@ export const responseFixtures = {
|
|||
};
|
||||
|
||||
let defaultLabFlags = {
|
||||
recommendations: false,
|
||||
audienceFeedback: false,
|
||||
collections: false,
|
||||
themeErrorsNotification: false,
|
||||
|
|
|
@ -351,6 +351,20 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Recommendations</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Enables publishers to recommend sites to their audience
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="recommendations" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -20,8 +20,7 @@ const GA_FEATURES = [
|
|||
'outboundLinkTagging',
|
||||
'announcementBar',
|
||||
'signupForm',
|
||||
'lexicalEditor',
|
||||
'recommendations'
|
||||
'lexicalEditor'
|
||||
];
|
||||
|
||||
// NOTE: this allowlist is meant to be used to filter out any unexpected
|
||||
|
@ -42,6 +41,7 @@ const ALPHA_FEATURES = [
|
|||
'collectionsCard',
|
||||
'tipsAndDonations',
|
||||
'importMemberTier',
|
||||
'recommendations',
|
||||
'lexicalIndicators'
|
||||
];
|
||||
|
||||
|
|
|
@ -758,7 +758,7 @@ exports[`Settings API Edit Can edit a setting 2: [headers] 1`] = `
|
|||
Object {
|
||||
"access-control-allow-origin": "http://127.0.0.1:2369",
|
||||
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
|
||||
"content-length": "4303",
|
||||
"content-length": "4278",
|
||||
"content-type": "application/json; charset=utf-8",
|
||||
"content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/,
|
||||
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
|
||||
|
|
Loading…
Reference in a new issue