0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00

add webmentions feature flag

refs 
Adding the alpha feature flag so we can begin testing.
This commit is contained in:
Steve Larson 2023-01-16 15:03:36 -06:00
parent e95cff2ef4
commit 9199547bfe
3 changed files with 16 additions and 1 deletions
ghost
admin/app
services
templates/settings
core/core/shared

View file

@ -64,6 +64,7 @@ export default class FeatureService extends Service {
@feature('audienceFeedback') audienceFeedback;
@feature('suppressionList') suppressionList;
@feature('emailStability') emailStability;
@feature('webmentions') webmentions;
_user = null;

View file

@ -226,6 +226,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Webmentions</h4>
<p class="gh-expandable-description">
Allow receiving webmentions from external sites and sending webmentions when linking external sites in posts.
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="webmentions" />
</div>
</div>
</div>
</div>
</div>
{{/if}}

View file

@ -32,7 +32,8 @@ const BETA_FEATURES = [
const ALPHA_FEATURES = [
'urlCache',
'beforeAfterCard',
'lexicalEditor'
'lexicalEditor',
'webmentions'
];
module.exports.GA_KEYS = [...GA_FEATURES];