From 355d40dc901446839621d542b529724f1cbaa844 Mon Sep 17 00:00:00 2001 From: ibuki2003 Date: Mon, 24 Jul 2023 20:16:37 +0900 Subject: [PATCH] feat: increase emoji picker search results --- 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 00ca2982cd..70f7677bf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ ### Client - リストTLで、ユーザーが追加・削除されてもTLを初期化しないように +- 絵文字ピッカーの検索の表示件数を100件に増加 ### Server - diff --git a/packages/frontend/src/components/MkEmojiPicker.vue b/packages/frontend/src/components/MkEmojiPicker.vue index cf856fd31f..be7e38a343 100644 --- a/packages/frontend/src/components/MkEmojiPicker.vue +++ b/packages/frontend/src/components/MkEmojiPicker.vue @@ -151,7 +151,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(); @@ -214,7 +214,7 @@ watch(q, () => { }; const searchUnicode = () => { - const max = 8; + const max = 100; const emojis = emojilist; const matches = new Set();