From 6a6c345698d4fdc141169ee0b053741f332dda45 Mon Sep 17 00:00:00 2001 From: HellhoundSoftware Date: Thu, 19 Dec 2024 21:15:01 -0500 Subject: [PATCH] Improve emoticon picker UI --- locales/index.d.ts | 38 +++++++++++++++++++ .../src/components/MkEmojiPicker.section.vue | 17 +++++---- .../frontend/src/components/MkEmojiPicker.vue | 24 ++++++++++-- sharkey-locales/en-US.yml | 11 ++++++ 4 files changed, 80 insertions(+), 10 deletions(-) diff --git a/locales/index.d.ts b/locales/index.d.ts index 71ddb57297..4948bc1817 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -11378,6 +11378,44 @@ export interface Locale extends ILocale { * Sort key */ "sortKey": string; + "_unicodeEmoji": { + /** + * Smileys + */ + "face": string; + /** + * People + */ + "people": string; + /** + * Animals & nature + */ + "animals_and_nature": string; + /** + * Food & drink + */ + "food_and_drink": string; + /** + * Activity + */ + "activity": string; + /** + * Travel & places + */ + "travel_and_places": string; + /** + * Objects + */ + "objects": string; + /** + * Symbols + */ + "symbols": string; + /** + * Flags + */ + "flags": string; + }; } declare const locales: { [lang: string]: Locale; diff --git a/packages/frontend/src/components/MkEmojiPicker.section.vue b/packages/frontend/src/components/MkEmojiPicker.section.vue index b7f6811420..b8a78e9e6a 100644 --- a/packages/frontend/src/components/MkEmojiPicker.section.vue +++ b/packages/frontend/src/components/MkEmojiPicker.section.vue @@ -6,9 +6,10 @@ SPDX-License-Identifier: AGPL-3.0-only