mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +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
|
|
@ -347,6 +347,55 @@ export default {
|
|||
com_nav_setting_data: 'Contrôles des données',
|
||||
com_nav_setting_account: 'Compte',
|
||||
/* The following are AI Translated */
|
||||
com_ui_date_today: 'Aujourd\'hui',
|
||||
com_ui_date_yesterday: 'Hier',
|
||||
com_ui_date_previous_7_days: '7 derniers jours',
|
||||
com_ui_date_previous_30_days: '30 derniers jours',
|
||||
com_ui_date_january: 'Janvier',
|
||||
com_ui_date_february: 'Février',
|
||||
com_ui_date_march: 'Mars',
|
||||
com_ui_date_april: 'Avril',
|
||||
com_ui_date_may: 'Mai',
|
||||
com_ui_date_june: 'Juin',
|
||||
com_ui_date_july: 'Juillet',
|
||||
com_ui_date_august: 'Août',
|
||||
com_ui_date_september: 'Septembre',
|
||||
com_ui_date_october: 'Octobre',
|
||||
com_ui_date_november: 'Novembre',
|
||||
com_ui_date_december: 'Décembre',
|
||||
com_ui_nothing_found: 'Aucun résultat trouvé',
|
||||
com_ui_go_to_conversation: 'Aller à la conversation',
|
||||
com_nav_tool_add: 'Ajouter',
|
||||
com_nav_tool_remove: 'Supprimer',
|
||||
com_nav_tool_dialog: 'Outils de l\'assistant',
|
||||
com_nav_tool_dialog_description:
|
||||
'L\'assistant doit être sauvegardé pour conserver les sélections d\'outils.',
|
||||
com_nav_tool_search: 'Outils de recherche',
|
||||
com_nav_my_files: 'Mes fichiers',
|
||||
com_nav_enter_to_send: 'Appuyez sur Entrée pour envoyer des messages',
|
||||
com_nav_show_code: 'Toujours afficher le code lors de l\'utilisation de l\'interpréteur de code',
|
||||
com_nav_archived_chats_empty: 'Vous n\'avez aucune conversation archivée.',
|
||||
com_nav_language: 'Langue',
|
||||
com_nav_lang_auto: 'Détection automatique',
|
||||
com_nav_lang_english: 'Anglais',
|
||||
com_nav_lang_chinese: 'Chinois',
|
||||
com_nav_lang_german: 'Allemand',
|
||||
com_nav_lang_spanish: 'Espagnol',
|
||||
com_nav_lang_french: 'Français',
|
||||
com_nav_lang_italian: 'Italien',
|
||||
com_nav_lang_polish: 'Polonais',
|
||||
com_nav_lang_brazilian_portuguese: 'Portugais brésilien',
|
||||
com_nav_lang_russian: 'Russe',
|
||||
com_nav_lang_japanese: 'Japonais',
|
||||
com_nav_lang_swedish: 'Suédois',
|
||||
com_nav_lang_korean: 'Coréen',
|
||||
com_nav_lang_vietnamese: 'Vietnamien',
|
||||
com_nav_lang_traditionalchinese: 'Chinois traditionnel',
|
||||
com_nav_lang_arabic: 'Arabe',
|
||||
com_nav_lang_turkish: 'Turc',
|
||||
com_nav_lang_dutch: 'Néerlandais',
|
||||
com_nav_lang_indonesia: 'Indonésie',
|
||||
com_nav_lang_hebrew: 'Hébreu',
|
||||
com_error_moderation:
|
||||
'Il semble que le contenu soumis ait été signalé par notre système de modération pour ne pas être conforme à nos lignes directrices communautaires. Nous ne pouvons pas procéder avec ce sujet spécifique. Si vous avez d\'autres questions ou sujets que vous souhaitez explorer, veuillez modifier votre message ou créer une nouvelle conversation.',
|
||||
com_error_no_user_key: 'Aucune clé trouvée. Veuillez fournir une clé et réessayer.',
|
||||
|
|
@ -1730,6 +1779,198 @@ export const comparisons = {
|
|||
english: 'Account',
|
||||
translated: 'Compte',
|
||||
},
|
||||
com_ui_date_today: {
|
||||
english: 'Today',
|
||||
translated: 'Aujourd\'hui',
|
||||
},
|
||||
com_ui_date_yesterday: {
|
||||
english: 'Yesterday',
|
||||
translated: 'Hier',
|
||||
},
|
||||
com_ui_date_previous_7_days: {
|
||||
english: 'Previous 7 days',
|
||||
translated: '7 derniers jours',
|
||||
},
|
||||
com_ui_date_previous_30_days: {
|
||||
english: 'Previous 30 days',
|
||||
translated: '30 derniers jours',
|
||||
},
|
||||
com_ui_date_january: {
|
||||
english: 'January',
|
||||
translated: 'Janvier',
|
||||
},
|
||||
com_ui_date_february: {
|
||||
english: 'February',
|
||||
translated: 'Février',
|
||||
},
|
||||
com_ui_date_march: {
|
||||
english: 'March',
|
||||
translated: 'Mars',
|
||||
},
|
||||
com_ui_date_april: {
|
||||
english: 'April',
|
||||
translated: 'Avril',
|
||||
},
|
||||
com_ui_date_may: {
|
||||
english: 'May',
|
||||
translated: 'Mai',
|
||||
},
|
||||
com_ui_date_june: {
|
||||
english: 'June',
|
||||
translated: 'Juin',
|
||||
},
|
||||
com_ui_date_july: {
|
||||
english: 'July',
|
||||
translated: 'Juillet',
|
||||
},
|
||||
com_ui_date_august: {
|
||||
english: 'August',
|
||||
translated: 'Août',
|
||||
},
|
||||
com_ui_date_september: {
|
||||
english: 'September',
|
||||
translated: 'Septembre',
|
||||
},
|
||||
com_ui_date_october: {
|
||||
english: 'October',
|
||||
translated: 'Octobre',
|
||||
},
|
||||
com_ui_date_november: {
|
||||
english: 'November',
|
||||
translated: 'Novembre',
|
||||
},
|
||||
com_ui_date_december: {
|
||||
english: 'December',
|
||||
translated: 'Décembre',
|
||||
},
|
||||
com_ui_nothing_found: {
|
||||
english: 'Nothing found',
|
||||
translated: 'Aucun résultat trouvé',
|
||||
},
|
||||
com_ui_go_to_conversation: {
|
||||
english: 'Go to conversation',
|
||||
translated: 'Aller à la conversation',
|
||||
},
|
||||
com_nav_tool_add: {
|
||||
english: 'Add',
|
||||
translated: 'Ajouter',
|
||||
},
|
||||
com_nav_tool_remove: {
|
||||
english: 'Remove',
|
||||
translated: 'Supprimer',
|
||||
},
|
||||
com_nav_tool_dialog: {
|
||||
english: 'Assistant Tools',
|
||||
translated: 'Outils de l\'assistant',
|
||||
},
|
||||
com_nav_tool_dialog_description: {
|
||||
english: 'Assistant must be saved to persist tool selections.',
|
||||
translated: 'L\'assistant doit être sauvegardé pour conserver les sélections d\'outils.',
|
||||
},
|
||||
com_nav_tool_search: {
|
||||
english: 'Search tools',
|
||||
translated: 'Outils de recherche',
|
||||
},
|
||||
com_nav_my_files: {
|
||||
english: 'My Files',
|
||||
translated: 'Mes fichiers',
|
||||
},
|
||||
com_nav_enter_to_send: {
|
||||
english: 'Press Enter to send messages',
|
||||
translated: 'Appuyez sur Entrée pour envoyer des messages',
|
||||
},
|
||||
com_nav_show_code: {
|
||||
english: 'Always show code when using code interpreter',
|
||||
translated: 'Toujours afficher le code lors de l\'utilisation de l\'interpréteur de code',
|
||||
},
|
||||
com_nav_archived_chats_empty: {
|
||||
english: 'You have no archived conversations.',
|
||||
translated: 'Vous n\'avez aucune conversation archivée.',
|
||||
},
|
||||
com_nav_language: {
|
||||
english: 'Language',
|
||||
translated: 'Langue',
|
||||
},
|
||||
com_nav_lang_auto: {
|
||||
english: 'Auto detect',
|
||||
translated: 'Détection automatique',
|
||||
},
|
||||
com_nav_lang_english: {
|
||||
english: 'English',
|
||||
translated: 'Anglais',
|
||||
},
|
||||
com_nav_lang_chinese: {
|
||||
english: '中文',
|
||||
translated: 'Chinois',
|
||||
},
|
||||
com_nav_lang_german: {
|
||||
english: 'Deutsch',
|
||||
translated: 'Allemand',
|
||||
},
|
||||
com_nav_lang_spanish: {
|
||||
english: 'Español',
|
||||
translated: 'Espagnol',
|
||||
},
|
||||
com_nav_lang_french: {
|
||||
english: 'Français ',
|
||||
translated: 'Français',
|
||||
},
|
||||
com_nav_lang_italian: {
|
||||
english: 'Italiano',
|
||||
translated: 'Italien',
|
||||
},
|
||||
com_nav_lang_polish: {
|
||||
english: 'Polski',
|
||||
translated: 'Polonais',
|
||||
},
|
||||
com_nav_lang_brazilian_portuguese: {
|
||||
english: 'Português Brasileiro',
|
||||
translated: 'Portugais brésilien',
|
||||
},
|
||||
com_nav_lang_russian: {
|
||||
english: 'Русский',
|
||||
translated: 'Russe',
|
||||
},
|
||||
com_nav_lang_japanese: {
|
||||
english: '日本語',
|
||||
translated: 'Japonais',
|
||||
},
|
||||
com_nav_lang_swedish: {
|
||||
english: 'Svenska',
|
||||
translated: 'Suédois',
|
||||
},
|
||||
com_nav_lang_korean: {
|
||||
english: '한국어',
|
||||
translated: 'Coréen',
|
||||
},
|
||||
com_nav_lang_vietnamese: {
|
||||
english: 'Tiếng Việt',
|
||||
translated: 'Vietnamien',
|
||||
},
|
||||
com_nav_lang_traditionalchinese: {
|
||||
english: '繁體中文',
|
||||
translated: 'Chinois traditionnel',
|
||||
},
|
||||
com_nav_lang_arabic: {
|
||||
english: 'العربية',
|
||||
translated: 'Arabe',
|
||||
},
|
||||
com_nav_lang_turkish: {
|
||||
english: 'Türkçe',
|
||||
translated: 'Turc',
|
||||
},
|
||||
com_nav_lang_dutch: {
|
||||
english: 'Nederlands',
|
||||
translated: 'Néerlandais',
|
||||
},
|
||||
com_nav_lang_indonesia: {
|
||||
english: 'Indonesia',
|
||||
translated: 'Indonésie',
|
||||
},
|
||||
com_nav_lang_hebrew: {
|
||||
english: 'עברית',
|
||||
translated: 'Hébreu',
|
||||
},
|
||||
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