enhance(frontend): Enterでチャットのメッセージを送信できるように

This commit is contained in:
syuilo 2025-03-25 13:19:54 +09:00
parent 8c1fc85d00
commit 2272eceffa
6 changed files with 78 additions and 13 deletions

View file

@ -491,55 +491,60 @@ export const searchIndexes: SearchIndexItem[] = [
label: i18n.ts._settings._chat.showSenderName,
keywords: ['show', 'sender', 'name'],
},
{
id: 'omEy5Q3Ev',
label: i18n.ts._settings._chat.sendOnEnter,
keywords: ['send', 'enter', 'newline'],
},
],
label: i18n.ts.chat,
keywords: ['chat', 'messaging'],
},
{
id: 'sCscGhMmH',
id: '5fy7VEy6i',
children: [
{
id: 'dLkRNHn3k',
id: 'EosiWZvak',
label: i18n.ts.squareAvatars,
keywords: ['avatar', 'icon', 'square'],
},
{
id: 'BvooTWFW5',
id: 'qY5xTzl35',
label: i18n.ts.seasonalScreenEffect,
keywords: ['effect', 'show'],
},
{
id: 'yzbghkAq0',
id: '2VSnj81vC',
label: i18n.ts.openImageInNewTab,
keywords: ['image', 'photo', 'picture', 'media', 'thumbnail', 'new', 'tab'],
},
{
id: 'aSbKFHbOy',
id: 'hdQa7W2H1',
label: i18n.ts.withRepliesByDefaultForNewlyFollowed,
keywords: ['follow', 'replies'],
},
{
id: '89bn97UgY',
id: 'nnj4DkjhP',
label: i18n.ts.whenServerDisconnected,
keywords: ['server', 'disconnect', 'reconnect', 'reload', 'streaming'],
},
{
id: 'hgf3rgdA6',
id: 'Eh7vTluDO',
label: i18n.ts.numberOfPageCache,
keywords: ['cache', 'page'],
},
{
id: '6FVdHPhhv',
id: 'vTRSKf1JA',
label: i18n.ts.forceShowAds,
keywords: ['ad', 'show'],
},
{
id: '5Bx5DAST1',
id: 'dwhQfcLGt',
label: i18n.ts.hemisphere,
keywords: [],
},
{
id: 'wv7Cwiwb1',
id: 'Ar1lj7f7U',
label: i18n.ts.additionalEmojiDictionary,
keywords: ['emoji', 'dictionary', 'additional', 'extra'],
},