mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-26 04:14:10 +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
|
|
@ -508,6 +508,24 @@ export default {
|
|||
com_nav_setting_data: 'Controlli dati',
|
||||
com_nav_setting_account: 'Account',
|
||||
/* The following are AI Translated */
|
||||
com_ui_date_today: 'Oggi',
|
||||
com_ui_date_yesterday: 'Ieri',
|
||||
com_ui_date_previous_7_days: 'Ultimi 7 giorni',
|
||||
com_ui_date_previous_30_days: 'Ultimi 30 giorni',
|
||||
com_ui_date_january: 'Gennaio',
|
||||
com_ui_date_february: 'Febbraio',
|
||||
com_ui_date_march: 'Marzo',
|
||||
com_ui_date_april: 'Aprile',
|
||||
com_ui_date_may: 'Maggio',
|
||||
com_ui_date_june: 'Giugno',
|
||||
com_ui_date_july: 'Luglio',
|
||||
com_ui_date_august: 'Agosto',
|
||||
com_ui_date_september: 'Settembre',
|
||||
com_ui_date_october: 'Ottobre',
|
||||
com_ui_date_november: 'Novembre',
|
||||
com_ui_date_december: 'Dicembre',
|
||||
com_ui_nothing_found: 'Non è stato trovato nulla',
|
||||
com_ui_go_to_conversation: 'Vai alla conversazione',
|
||||
com_user_message: 'Mostra nome utente nei messaggi',
|
||||
com_ui_fork: 'Duplica',
|
||||
com_ui_mention: 'Menziona un endpoint, assistente o preset per passare rapidamente ad esso',
|
||||
|
|
@ -2341,6 +2359,78 @@ export const comparisons = {
|
|||
english: 'Account',
|
||||
translated: 'Account',
|
||||
},
|
||||
com_ui_date_today: {
|
||||
english: 'Today',
|
||||
translated: 'Oggi',
|
||||
},
|
||||
com_ui_date_yesterday: {
|
||||
english: 'Yesterday',
|
||||
translated: 'Ieri',
|
||||
},
|
||||
com_ui_date_previous_7_days: {
|
||||
english: 'Previous 7 days',
|
||||
translated: 'Ultimi 7 giorni',
|
||||
},
|
||||
com_ui_date_previous_30_days: {
|
||||
english: 'Previous 30 days',
|
||||
translated: 'Ultimi 30 giorni',
|
||||
},
|
||||
com_ui_date_january: {
|
||||
english: 'January',
|
||||
translated: 'Gennaio',
|
||||
},
|
||||
com_ui_date_february: {
|
||||
english: 'February',
|
||||
translated: 'Febbraio',
|
||||
},
|
||||
com_ui_date_march: {
|
||||
english: 'March',
|
||||
translated: 'Marzo',
|
||||
},
|
||||
com_ui_date_april: {
|
||||
english: 'April',
|
||||
translated: 'Aprile',
|
||||
},
|
||||
com_ui_date_may: {
|
||||
english: 'May',
|
||||
translated: 'Maggio',
|
||||
},
|
||||
com_ui_date_june: {
|
||||
english: 'June',
|
||||
translated: 'Giugno',
|
||||
},
|
||||
com_ui_date_july: {
|
||||
english: 'July',
|
||||
translated: 'Luglio',
|
||||
},
|
||||
com_ui_date_august: {
|
||||
english: 'August',
|
||||
translated: 'Agosto',
|
||||
},
|
||||
com_ui_date_september: {
|
||||
english: 'September',
|
||||
translated: 'Settembre',
|
||||
},
|
||||
com_ui_date_october: {
|
||||
english: 'October',
|
||||
translated: 'Ottobre',
|
||||
},
|
||||
com_ui_date_november: {
|
||||
english: 'November',
|
||||
translated: 'Novembre',
|
||||
},
|
||||
com_ui_date_december: {
|
||||
english: 'December',
|
||||
translated: 'Dicembre',
|
||||
},
|
||||
com_ui_nothing_found: {
|
||||
english: 'Nothing found',
|
||||
translated: 'Non è stato trovato nulla',
|
||||
},
|
||||
com_ui_go_to_conversation: {
|
||||
english: 'Go to conversation',
|
||||
translated: 'Vai alla conversazione',
|
||||
},
|
||||
com_user_message: {
|
||||
english: 'You',
|
||||
translated: 'Mostra nome utente nei messaggi',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue