mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 11:20:15 +01:00
🔍 feat: Show Messages from Search Result (#2699)
* refactor(Nav): delegate Search-specific variables/hooks to SearchContext * fix: safely determine firstTodayConvoId if convo is undefined * chore: remove empty line * feat: initial render of search messages * feat: SearchButtons * update Ko.ts * update localizations with new key phrases * chore: localization comparisons * fix: clear conversation state on searchQuery navigation * style: search messages view styling * refactor(Convo): consolidate logic to navigateWithLastTools from useNavigateToConvo * fix(SearchButtons): styling and correct navigation logic * fix(SearchBar): invalidate all message queries and invoke `clearText` if onChange value is empty * refactor(NewChat): consolidate new chat button logic to NewChatButtonIcon * chore: localizations for Nav date groups * chore: update comparisons * fix: early return from sendRequest to avoid quick searchQuery reset * style: Link Icon * chore: bump tiktoken, use o200k_base for gpt-4o
This commit is contained in:
parent
638ac5bba6
commit
e42709bd1f
36 changed files with 2742 additions and 234 deletions
|
|
@ -364,6 +364,24 @@ export default {
|
|||
com_ui_upload_error: 'Произошла ошибка при загрузке вашего файла',
|
||||
com_user_message: 'Вы',
|
||||
/* The following are AI Translated */
|
||||
com_ui_date_today: 'Сегодня',
|
||||
com_ui_date_yesterday: 'Вчера',
|
||||
com_ui_date_previous_7_days: 'Предыдущие 7 дней',
|
||||
com_ui_date_previous_30_days: 'За последние 30 дней',
|
||||
com_ui_date_january: 'Январь',
|
||||
com_ui_date_february: 'Февраль',
|
||||
com_ui_date_march: 'Март',
|
||||
com_ui_date_april: 'Апрель',
|
||||
com_ui_date_may: 'Май',
|
||||
com_ui_date_june: 'Июнь',
|
||||
com_ui_date_july: 'Июль',
|
||||
com_ui_date_august: 'Август',
|
||||
com_ui_date_september: 'Сентябрь',
|
||||
com_ui_date_october: 'Октябрь',
|
||||
com_ui_date_november: 'Ноябрь',
|
||||
com_ui_date_december: 'Декабрь',
|
||||
com_ui_nothing_found: 'Ничего не найдено',
|
||||
com_ui_go_to_conversation: 'Перейти к беседе',
|
||||
com_error_moderation:
|
||||
'К сожалению, отправленный вами контент был помечен нашей системой модерации как не соответствующий правилам сообщества. Мы не можем продолжить обсуждение этой конкретной темы. Если у вас есть другие вопросы или темы, которые вы хотели бы обсудить, пожалуйста, отредактируйте сообщение или начните новый диалог.',
|
||||
com_error_no_user_key: 'Ключ не найден. Пожалуйста, укажите ключ и повторите попытку.',
|
||||
|
|
@ -1846,6 +1864,78 @@ export const comparisons = {
|
|||
english: 'You',
|
||||
translated: 'Вы',
|
||||
},
|
||||
com_ui_date_today: {
|
||||
english: 'Today',
|
||||
translated: 'Сегодня',
|
||||
},
|
||||
com_ui_date_yesterday: {
|
||||
english: 'Yesterday',
|
||||
translated: 'Вчера',
|
||||
},
|
||||
com_ui_date_previous_7_days: {
|
||||
english: 'Previous 7 days',
|
||||
translated: 'Предыдущие 7 дней',
|
||||
},
|
||||
com_ui_date_previous_30_days: {
|
||||
english: 'Previous 30 days',
|
||||
translated: 'За последние 30 дней',
|
||||
},
|
||||
com_ui_date_january: {
|
||||
english: 'January',
|
||||
translated: 'Январь',
|
||||
},
|
||||
com_ui_date_february: {
|
||||
english: 'February',
|
||||
translated: 'Февраль',
|
||||
},
|
||||
com_ui_date_march: {
|
||||
english: 'March',
|
||||
translated: 'Март',
|
||||
},
|
||||
com_ui_date_april: {
|
||||
english: 'April',
|
||||
translated: 'Апрель',
|
||||
},
|
||||
com_ui_date_may: {
|
||||
english: 'May',
|
||||
translated: 'Май',
|
||||
},
|
||||
com_ui_date_june: {
|
||||
english: 'June',
|
||||
translated: 'Июнь',
|
||||
},
|
||||
com_ui_date_july: {
|
||||
english: 'July',
|
||||
translated: 'Июль',
|
||||
},
|
||||
com_ui_date_august: {
|
||||
english: 'August',
|
||||
translated: 'Август',
|
||||
},
|
||||
com_ui_date_september: {
|
||||
english: 'September',
|
||||
translated: 'Сентябрь',
|
||||
},
|
||||
com_ui_date_october: {
|
||||
english: 'October',
|
||||
translated: 'Октябрь',
|
||||
},
|
||||
com_ui_date_november: {
|
||||
english: 'November',
|
||||
translated: 'Ноябрь',
|
||||
},
|
||||
com_ui_date_december: {
|
||||
english: 'December',
|
||||
translated: 'Декабрь',
|
||||
},
|
||||
com_ui_nothing_found: {
|
||||
english: 'Nothing found',
|
||||
translated: 'Ничего не найдено',
|
||||
},
|
||||
com_ui_go_to_conversation: {
|
||||
english: 'Go to conversation',
|
||||
translated: 'Перейти к беседе',
|
||||
},
|
||||
com_error_moderation: {
|
||||
english:
|
||||
'It appears that the content submitted has been flagged by our moderation system for not aligning with our community guidelines. We\'re unable to proceed with this specific topic. If you have any other questions or topics you\'d like to explore, please edit your message, or create a new conversation.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue