Added the tweetGridCard feature flag

refs https://github.com/TryGhost/Team/issues/1255

- developer flag for enabling tweet grid cards in the card menus
This commit is contained in:
Thibaut Patel 2021-12-08 10:13:54 +01:00
parent 3bd5400e92
commit 1ba546c4cd
2 changed files with 14 additions and 0 deletions

View File

@ -66,6 +66,7 @@ export default Service.extend({
quoteStyles: feature('quoteStyles'),
beforeAfterCard: feature('beforeAfterCard'),
richTwitterNewsletters: feature('richTwitterNewsletters'),
tweetGridCard: feature('tweetGridCard'),
_user: null,

View File

@ -469,6 +469,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Cardmageddon - Tweet grid</h4>
<p class="gh-expandable-description">
Card for displaying a group of related tweets
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="tweetGridCard" />
</div>
</div>
</div>
</div>
</div>
{{/if}}