From 8bd98536d14064490cef9acf9400efc161004072 Mon Sep 17 00:00:00 2001 From: Spiroux Emeric Date: Wed, 24 Feb 2021 11:41:14 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20remove=20dead=20code=20emoj?= =?UTF-8?q?i=20(=E2=9A=B0=EF=B8=8F)=20(#712)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ✨ Added remove dead code emoji (⚰️) * 💬 Add dot at the end of description Co-authored-by: johannchopin <31794680+johannchopin@users.noreply.github.com> * 💬 Add dot at the end of spec snapshot Co-authored-by: Emeric Co-authored-by: johannchopin <31794680+johannchopin@users.noreply.github.com> --- .../__snapshots__/pages.spec.js.snap | 41 +++++++++++++++++++ src/components/GitmojiList/emojiColorsMap.js | 1 + src/data/gitmojis.json | 8 ++++ 3 files changed, 50 insertions(+) diff --git a/src/__tests__/__snapshots__/pages.spec.js.snap b/src/__tests__/__snapshots__/pages.spec.js.snap index bd91f14..7609e9e 100644 --- a/src/__tests__/__snapshots__/pages.spec.js.snap +++ b/src/__tests__/__snapshots__/pages.spec.js.snap @@ -3116,6 +3116,47 @@ exports[`Pages Index should render the page 1`] = ` +
+
+
+ +
+
+ +

+ Remove dead code. +

+
+
+
`; diff --git a/src/components/GitmojiList/emojiColorsMap.js b/src/components/GitmojiList/emojiColorsMap.js index 5349ceb..a3c6e23 100644 --- a/src/components/GitmojiList/emojiColorsMap.js +++ b/src/components/GitmojiList/emojiColorsMap.js @@ -29,6 +29,7 @@ export default { 'goal-net': '#c7cb12', 'green-heart': '#c5e763', hammer: '#ffc400', + coffin: '#d9e3e8', 'heavy-minus-sign': '#ef5350', 'heavy-plus-sign': '#00e676', iphone: '#40c4ff', diff --git a/src/data/gitmojis.json b/src/data/gitmojis.json index 5f70945..103ed1d 100644 --- a/src/data/gitmojis.json +++ b/src/data/gitmojis.json @@ -503,6 +503,14 @@ "description": "Data exploration/inspection.", "name": "monocle-face", "semver": null + }, + { + "emoji": "⚰️", + "entity": "⚰", + "code": ":coffin:", + "description": "Remove dead code.", + "name": "coffin", + "semver": null } ] }