0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Revert "Added Recommendations feature (#18664)" (#18694)

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:
Sag 2023-10-18 14:03:35 -03:00 committed by GitHub
parent 2d4959d972
commit 5c43945b94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 3 deletions

View file

@ -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 = () => {

View file

@ -50,6 +50,7 @@ export const responseFixtures = {
};
let defaultLabFlags = {
recommendations: false,
audienceFeedback: false,
collections: false,
themeErrorsNotification: false,

View file

@ -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}}

View file

@ -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'
];

View file

@ -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 \\]\\|\\\\\\\\\\.\\)\\*"/,