From e11320dbb70bbae0da78975718cc06b440daa6a4 Mon Sep 17 00:00:00 2001 From: Ibuki Sugiyama Date: Sat, 5 Aug 2023 14:05:32 +0900 Subject: [PATCH] feat: increase emoji picker search results (#11371) Co-authored-by: syuilo --- CHANGELOG.md | 1 + packages/frontend/src/components/MkEmojiPicker.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46db1128bc..457642168d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ ### Client - メニューのスイッチの動作を改善 +- 絵文字ピッカーの検索の表示件数を100件に増加 - Enhance: ユーザーメニューでスイッチでユーザーリストに追加・削除できるように - Enhance: 自分が押したリアクションのデザインを改善 - Fix: サーバー情報画面(`/instance-info/{domain}`)でブロックができないのを修正 diff --git a/packages/frontend/src/components/MkEmojiPicker.vue b/packages/frontend/src/components/MkEmojiPicker.vue index 145bce9825..87d0456931 100644 --- a/packages/frontend/src/components/MkEmojiPicker.vue +++ b/packages/frontend/src/components/MkEmojiPicker.vue @@ -156,7 +156,7 @@ watch(q, () => { const newQ = q.value.replace(/:/g, '').toLowerCase(); const searchCustom = () => { - const max = 8; + const max = 100; const emojis = customEmojis.value; const matches = new Set(); @@ -219,7 +219,7 @@ watch(q, () => { }; const searchUnicode = () => { - const max = 8; + const max = 100; const emojis = emojilist; const matches = new Set();