feat(message-input): add search box to slash-command popups

Both the inline autocomplete (triggered by `/` in the textarea) and the
dropdown popup (triggered by the slash-command button) now show a search
field at the top. Matching uses substring on name and description, and
ranks name matches above description/id-only matches.
This commit is contained in:
xintaofei
2026-04-21 00:26:00 +08:00
parent 692b700c0d
commit 98792a696c
11 changed files with 293 additions and 84 deletions

View File

@@ -1573,7 +1573,9 @@
"forkAndSend": "تفريع وإرسال",
"slashCommands": "أوامر الشرطة المائلة",
"expertSkills": "مهارات الخبراء",
"expertsEmptyForAgent": "لا يحتوي هذا العميل على خبراء مفعّلين. فعّلهم من الإعدادات > الخبراء."
"expertsEmptyForAgent": "لا يحتوي هذا العميل على خبراء مفعّلين. فعّلهم من الإعدادات > الخبراء.",
"slashSearchPlaceholder": "البحث عن الأوامر...",
"slashSearchEmpty": "لا توجد أوامر مطابقة"
},
"messageQueue": {
"addToQueue": "إضافة للقائمة",