Skip to content

A platform for community discussion. Free, open, simple.

DEV: discourse-emojis 1.0.37 (#31698)

Joffrey JAFFEUX340441e17e72
diff --git a/Gemfile.lock b/Gemfile.lock
index 0594b8f1d7f..18a545ef2c3 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -126,7 +126,7 @@ GEM
diffy (3.4.3)
digest (3.2.0)
digest-xxhash (0.2.9)
- discourse-emojis (1.0.32)
+ discourse-emojis (1.0.37)
discourse-fonts (0.0.18)
discourse-seed-fu (2.3.12)
activerecord (>= 3.1)
@@ -841,7 +841,7 @@ CHECKSUMS
diffy (3.4.3) sha256=4264b9e7db00d1cd426fcd32e36565779163cedc2340a95b0e6f025e71f9aaa7
digest (3.2.0) sha256=fa2e7092ec683f65d82fadde5ff4ca3b32e23ee0b19f1fc1a5e09993ad2d3991
digest-xxhash (0.2.9) sha256=a989d8309c03c4136a4bea9981ec0a146a2750de7f3dfb7b5624a3038aa598d7
- discourse-emojis (1.0.32) sha256=fa2d6adf74593238021eea601fac7b56aee6b5073a6dfbccf977c6f4f942498b
+ discourse-emojis (1.0.37) sha256=cd9d389b407e0866f0e9399c685066a96f0b0cb9c677c56099ec6e786aef5456
discourse-fonts (0.0.18) sha256=a7d25c13edd3325ae40010ca277530d69fc7952a05aa7b2ff07c1d07412b72a1
discourse-seed-fu (2.3.12) sha256=4f61d95c11ed54609046cd04eb3a51b531c5fa863fa86d1bea7d74264e5c75e4
discourse_dev_assets (0.0.5) sha256=a09a801a210aa3f7247dd382dfd73b389d4bd02be86be675eca2d451f9898285
diff --git a/app/assets/javascripts/discourse/tests/integration/components/emoji-picker-test.gjs b/app/assets/javascripts/discourse/tests/integration/components/emoji-picker-test.gjs
index 5b356b51b83..bd3e9ca5714 100644
--- a/app/assets/javascripts/discourse/tests/integration/components/emoji-picker-test.gjs
+++ b/app/assets/javascripts/discourse/tests/integration/components/emoji-picker-test.gjs
@@ -74,7 +74,7 @@ module("Integration | Component | emoji-picker-content", function (hooks) {
assert
.dom(".emoji-picker__section.filtered > img")
- .exists({ count: 6 }, "it filters the emojis list");
+ .exists({ count: 5 }, "it filters the emojis list");
assert
.dom('.emoji-picker__section.filtered > img[alt="grinning_face"]')
.exists("it filters the correct emoji");
diff --git a/app/assets/javascripts/pretty-text/addon/emoji/data.js b/app/assets/javascripts/pretty-text/addon/emoji/data.js
index 4c72d8b4d2a..84bdea6681e 100644
--- a/app/assets/javascripts/pretty-text/addon/emoji/data.js
+++ b/app/assets/javascripts/pretty-text/addon/emoji/data.js
@@ -3,7 +3,7 @@
export const emojis = new Set([
"grinning_face",
- "grinning_face_with_big_eyes",
+ "smiley",
"grinning_face_with_smiling_eyes",
"grin",
"laughing",
@@ -500,7 +500,7 @@ export const emojis = new Set([
"kiss_man_man",
"kiss_woman_woman",
"couple_with_heart",
- "couple_with_heart_woman_man",
+ "couple_with_heart",
"couple_with_heart_man_man",
"couple_with_heart_woman_woman",
"family_man_woman_boy",
@@ -1054,7 +1054,7 @@ export const emojis = new Set([
"firecracker",
"sparkles",
"balloon",
- "party_popper",
+ "tada",
"confetti_ball",
"tanabata_tree",
"pine_decoration",
@@ -2187,15 +2187,10 @@ export const tonableEmojis = [
"kiss_man_man",
"kiss_woman_woman",
"couple_with_heart",
- "couple_with_heart_woman_man",
"couple_with_heart_man_man",
"couple_with_heart_woman_woman",
];
export const aliases = {
- st_barthelemy: ["st_barthélemy"],
- pinata: ["piñata"],
- reunion: ["réunion"],
- sao_tome_principe: ["são_tomé_príncipe"],
x_ray: ["xray"],
right_anger_bubble: ["anger_right"],
ballot_box: ["ballot_box_with_ballot"],
@@ -2330,7 +2325,6 @@ export const aliases = {
wind_face: ["wind_blowing_face"],
man_golfing: ["golfer", "golfing_man"],
building_construction: ["construction_site"],
- family_man_woman_girl_boy: ["family"],
ice_hockey: ["hockey"],
play_or_pause_button: ["play_pause"],
film_projector: ["projector"],
@@ -2347,7 +2341,7 @@ export const aliases = {
balance_scale: ["scales"],
person_surfing: ["surfer"],
man_surfing: ["surfing_man"],
- kiss_woman_man: ["kiss", "couplekiss", "couplekiss_man_woman"],
+ kiss_woman_man: ["couplekiss", "couplekiss_man_woman"],
kiss_woman_woman: ["couplekiss_woman_woman", "female_couplekiss"],
kiss_man_man: ["couplekiss_man_man", "male_couplekiss"],
couple_with_heart_man_man: ["male_couple_with_heart"],
@@ -2363,7 +2357,7 @@ export const aliases = {
smile: ["grinning_face_with_smiling_eyes"],
frowning_with_open_mouth: ["frowning_face_with_open_mouth"],
grinning_face: ["grinning"],
- grinning_face_with_big_eyes: ["smiley"],
+ smiley: ["grinning_face_with_big_eyes"],
grinning_face_with_smiling_eyes: ["smile"],
grin: ["beaming_face_with_smiling_eyes"],
laughing: ["grinning_squinting_face", "satisfied"],
@@ -2508,7 +2502,6 @@ export const aliases = {
person_with_veil: ["bride_with_veil"],
baby_angel: ["angel"],
santa_claus: ["santa"],
- merperson: ["mermaid"],
man_getting_massage: ["massage_man"],
woman_getting_massage: ["massage_woman", "massage"],
person_getting_haircut: ["haircut"],
@@ -2543,7 +2536,6 @@ export const aliases = {
women_holding_hands: ["two_women_holding_hands"],
woman_and_man_holding_hands: ["couple"],
men_holding_hands: ["two_men_holding_hands"],
- family: ["family_man_woman_boy"],
dog: ["dog2"],
cat: ["cat2"],
tiger: ["tiger2"],
@@ -2652,7 +2644,7 @@ export const aliases = {
snowman: ["snowman_with_snow"],
snowman_without_snow: ["snowman2"],
ocean: ["water_wave"],
- party_popper: ["tada"],
+ tada: ["party_popper"],
pine_decoration: ["bamboo"],
japanese_dolls: ["dolls"],
carp_streamer: ["flags"],
@@ -2737,7 +2729,6 @@ export const aliases = {
ballot_box_with_ballot: ["ballot_box"],
pencil: ["pencil2"],
date: ["calendar"],
- tear_off_calendar: ["calendar"],
chart_increasing: ["chart_with_upwards_trend"],
chart_decreasing: ["chart_with_downwards_trend"],
linked_paperclips: ["paperclips"],
@@ -2860,15 +2851,11 @@ export const aliases = {
japanese_vacancy_button: ["u7a7a"],
japanese_discount_button: ["u5272"],
japanese_here_button: ["koko"],
- japanese_not_free_of_charge_button: [
- "sa",
- "u6709",
- "japanese_service_charge_button",
- ],
+ japanese_not_free_of_charge_button: ["sa", "u6709"],
japanese_application_button: ["u7533"],
japanese_bargain_button: ["ideograph_advantage"],
japanese_prohibited_button: ["u7981"],
- japanese_acceptable_button: ["accept", "u6709"],
+ japanese_acceptable_button: ["accept"],
japanese_congratulations_button: ["congratulations"],
japanese_secret_button: ["secret"],
japanese_open_for_business_button: ["u55b6"],
@@ -2939,7 +2926,7 @@ export const translations = {
};
export const replacements = {
"😀": "grinning_face",
- "😃": "grinning_face_with_big_eyes",
+ "😃": "smiley",
"😄": "grinning_face_with_smiling_eyes",
"😁": "grin",
"😆": "laughing",
@@ -4941,12 +4928,12 @@ export const replacements = {
"💑🏽": "couple_with_heart:t4",
"💑🏾": "couple_with_heart:t5",
"💑🏿": "couple_with_heart:t6",
- "👩‍❤️‍👨": "couple_with_heart_woman_man",
- "👩🏻‍❤️‍👨": "couple_with_heart_woman_man:t2",
- "👩🏼‍❤️‍👨": "couple_with_heart_woman_man:t3",
- "👩🏽‍❤️‍👨": "couple_with_heart_woman_man:t4",
- "👩🏾‍❤️‍👨": "couple_with_heart_woman_man:t5",
- "👩🏿‍❤️‍👨": "couple_with_heart_woman_man:t6",
+ "👩‍❤️‍👨": "couple_with_heart",
+ "👩🏻‍❤️‍👨": "couple_with_heart:t2",
+ "👩🏼‍❤️‍👨": "couple_with_heart:t3",
+ "👩🏽‍❤️‍👨": "couple_with_heart:t4",
+ "👩🏾‍❤️‍👨": "couple_with_heart:t5",
+ "👩🏿‍❤️‍👨": "couple_with_heart:t6",
"👨‍❤️‍👨": "couple_with_heart_man_man",
"👨🏻‍❤️‍👨": "couple_with_heart_man_man:t2",
"👨🏼‍❤️‍👨": "couple_with_heart_man_man:t3",
@@ -5514,7 +5501,7 @@ export const replacements = {
"🧨": "firecracker",
"✨": "sparkles",
"🎈": "balloon",
- "🎉": "party_popper",
+ "🎉": "tada",
"🎊": "confetti_ball",
"🎋": "tanabata_tree",
"🎍": "pine_decoration",