From ca0d97da2a530bb162fad7bb1282a78ea92017af Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 19 Nov 2022 13:25:09 -0800 Subject: [PATCH] Remove more icons --- .../image-icon-tab/iconGroups.json | 6 +- .../mindplot/assets/icons/money_coins.svg | 70 ------------------- .../mindplot/assets/icons/object_pencil.svg | 17 ----- .../mindplot/assets/icons/object_star.svg | 7 -- packages/mindplot/assets/icons/things_pin.svg | 11 --- .../src/components/model/SvgIconFamily.json | 6 +- .../components/persistence/iconToEmoji.json | 6 +- packages/mindplot/test/unit/export/Helper.ts | 2 +- .../mindplot/test/unit/export/expected/npe.mm | 1 - .../test/unit/export/expected/npe.wxml | 2 +- 10 files changed, 9 insertions(+), 119 deletions(-) delete mode 100644 packages/mindplot/assets/icons/money_coins.svg delete mode 100644 packages/mindplot/assets/icons/object_pencil.svg delete mode 100644 packages/mindplot/assets/icons/object_star.svg delete mode 100644 packages/mindplot/assets/icons/things_pin.svg diff --git a/packages/editor/src/components/action-widget/pane/icon-picker/image-icon-tab/iconGroups.json b/packages/editor/src/components/action-widget/pane/icon-picker/image-icon-tab/iconGroups.json index 39d69cde..11da26f8 100644 --- a/packages/editor/src/components/action-widget/pane/icon-picker/image-icon-tab/iconGroups.json +++ b/packages/editor/src/components/action-widget/pane/icon-picker/image-icon-tab/iconGroups.json @@ -24,12 +24,9 @@ "hard_ipod", "things_address_book", "things_wrench", - "things_pin", "things_window-layout", "things_bubbles", - "object_pencil", - "object_music", - "object_star" + "object_music" ] }, { @@ -44,7 +41,6 @@ "onoff_status_offline", "onoff_status_online", "money_dollar", - "money_coins", "money_ruby", "time_calendar", "time_clock", diff --git a/packages/mindplot/assets/icons/money_coins.svg b/packages/mindplot/assets/icons/money_coins.svg deleted file mode 100644 index db960c20..00000000 --- a/packages/mindplot/assets/icons/money_coins.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/object_pencil.svg b/packages/mindplot/assets/icons/object_pencil.svg deleted file mode 100644 index 96085e7f..00000000 --- a/packages/mindplot/assets/icons/object_pencil.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/object_star.svg b/packages/mindplot/assets/icons/object_star.svg deleted file mode 100644 index e8c151a2..00000000 --- a/packages/mindplot/assets/icons/object_star.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/packages/mindplot/assets/icons/things_pin.svg b/packages/mindplot/assets/icons/things_pin.svg deleted file mode 100644 index 30186db4..00000000 --- a/packages/mindplot/assets/icons/things_pin.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/packages/mindplot/src/components/model/SvgIconFamily.json b/packages/mindplot/src/components/model/SvgIconFamily.json index 4b8eb257..c771153c 100644 --- a/packages/mindplot/src/components/model/SvgIconFamily.json +++ b/packages/mindplot/src/components/model/SvgIconFamily.json @@ -12,7 +12,6 @@ "id": "money", "icons": [ "money_dollar", - "money_coins", "money_ruby" ] }, @@ -52,7 +51,6 @@ "icons": [ "things_address_book", "things_wrench", - "things_pin", "things_window-layout", "things_bubbles" ] @@ -123,10 +121,8 @@ { "id": "object", "icons": [ - "object_pencil", "object_clip", - "object_music", - "object_star" + "object_music" ] }, { diff --git a/packages/mindplot/src/components/persistence/iconToEmoji.json b/packages/mindplot/src/components/persistence/iconToEmoji.json index 70167ceb..53f9f5f1 100644 --- a/packages/mindplot/src/components/persistence/iconToEmoji.json +++ b/packages/mindplot/src/components/persistence/iconToEmoji.json @@ -90,5 +90,9 @@ "object_key": "🔑", "time_hourglass": "⌛", "object_clip": "📎", - "money_euro": "💶" + "money_euro": "💶", + "things_pin": "📌", + "object_star": "⭐", + "money_coins": "💰", + "object_pencil": "✏️" } \ No newline at end of file diff --git a/packages/mindplot/test/unit/export/Helper.ts b/packages/mindplot/test/unit/export/Helper.ts index b6400d78..e4867fb3 100644 --- a/packages/mindplot/test/unit/export/Helper.ts +++ b/packages/mindplot/test/unit/export/Helper.ts @@ -22,7 +22,7 @@ import { diff } from 'jest-diff'; import { expect } from '@jest/globals'; import Exporter from '../../../src/components/export/Exporter'; -const saveOutputRecord = false; +const saveOutputRecord = true; export const setupBlob = () => { // Workaround for partial implementations on Jest: diff --git a/packages/mindplot/test/unit/export/expected/npe.mm b/packages/mindplot/test/unit/export/expected/npe.mm index 1bc47622..5a7c1ebd 100644 --- a/packages/mindplot/test/unit/export/expected/npe.mm +++ b/packages/mindplot/test/unit/export/expected/npe.mm @@ -1,6 +1,5 @@ - diff --git a/packages/mindplot/test/unit/export/expected/npe.wxml b/packages/mindplot/test/unit/export/expected/npe.wxml index 6093b1e6..9f021d19 100644 --- a/packages/mindplot/test/unit/export/expected/npe.wxml +++ b/packages/mindplot/test/unit/export/expected/npe.wxml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file