2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Removed emoji picker feature flag (#19314)

closes TryGhost/Product#4109
- requires new editor packages which are bumped in this commit
This commit is contained in:
Steve Larson 2023-12-11 09:51:37 -06:00 committed by GitHub
parent 9ff482f985
commit ccc9c9bdd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 23 deletions

View file

@ -429,14 +429,12 @@
<span class="gh-key" data-tooltip="Return">&#8617;</span>
</div>
</div>
{{#if (feature "editorEmojiPicker")}}
<div class="gh-shortcut">
<div>Emoji</div>
<div class="gh-keys">
<span class="gh-key mono">:emoji_name:</span>
</div>
<div class="gh-shortcut">
<div>Emoji</div>
<div class="gh-keys">
<span class="gh-key mono">:emoji_name:</span>
</div>
{{/if}}
</div>
<div class="gh-shortcut">
<div>Image</div>
<div class="gh-keys">

View file

@ -73,10 +73,6 @@ export default class KoenigLexicalEditorInput extends Component {
editorResource = this.koenig.resource;
get emojiPicker() {
if (!this.feature.editorEmojiPicker) {
return false;
}
return this.args.emojiPicker ?? true;
}

View file

@ -309,8 +309,7 @@ export default class KoenigLexicalEditor extends Component {
fetchLabels,
feature: {
collectionsCard: this.feature.get('collectionsCard'),
collections: this.feature.get('collections'),
emojiPicker: this.feature.get('editorEmojiPicker')
collections: this.feature.get('collections')
},
depreciated: {
headerV1: true // if false, shows header v1 in the menu

View file

@ -77,7 +77,6 @@ export default class FeatureService extends Service {
@feature('tipsAndDonations') tipsAndDonations;
@feature('recommendations') recommendations;
@feature('lexicalIndicators') lexicalIndicators;
@feature('editorEmojiPicker') editorEmojiPicker;
@feature('filterEmailDisabled') filterEmailDisabled;
@feature('adminXDemo') adminXDemo;
@feature('tkReminders') tkReminders;

View file

@ -44,9 +44,9 @@
"@tryghost/color-utils": "0.2.0",
"@tryghost/ember-promise-modals": "2.0.1",
"@tryghost/helpers": "1.1.88",
"@tryghost/kg-clean-basic-html": "4.0.0",
"@tryghost/kg-clean-basic-html": "4.0.1",
"@tryghost/kg-converters": "0.0.22",
"@tryghost/koenig-lexical": "1.0.4",
"@tryghost/koenig-lexical": "1.0.5",
"@tryghost/limit-service": "1.2.12",
"@tryghost/members-csv": "0.0.0",
"@tryghost/nql": "0.12.0",

View file

@ -21,7 +21,6 @@ const GA_FEATURES = [
'announcementBar',
'signupForm',
'recommendations',
'editorEmojiPicker',
'listUnsubscribeHeader',
'filterEmailDisabled'
];
@ -45,7 +44,6 @@ const ALPHA_FEATURES = [
'tipsAndDonations',
'importMemberTier',
'lexicalIndicators',
'editorEmojiPicker',
'adminXOffers',
'filterEmailDisabled',
'adminXDemo',

View file

@ -102,9 +102,9 @@
"@tryghost/kg-converters": "0.0.22",
"@tryghost/kg-default-atoms": "5.0.0",
"@tryghost/kg-default-cards": "10.0.0",
"@tryghost/kg-default-nodes": "1.0.0",
"@tryghost/kg-html-to-lexical": "1.0.1",
"@tryghost/kg-lexical-html-renderer": "1.0.0",
"@tryghost/kg-default-nodes": "1.0.1",
"@tryghost/kg-html-to-lexical": "1.0.2",
"@tryghost/kg-lexical-html-renderer": "1.0.1",
"@tryghost/kg-mobiledoc-html-renderer": "7.0.0",
"@tryghost/limit-service": "1.2.12",
"@tryghost/link-redirects": "0.0.0",
@ -225,7 +225,7 @@
"yjs": "13.6.10"
},
"optionalDependencies": {
"@tryghost/html-to-mobiledoc": "2.0.42",
"@tryghost/html-to-mobiledoc": "3.0.1",
"sqlite3": "5.1.6"
},
"devDependencies": {

View file

@ -1155,7 +1155,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": "4534",
"content-length": "4507",
"content-type": "application/json; charset=utf-8",
"content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/,
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,