feat: add pin/unpin functionality to chat history
Adds pin/unpin functionality to the chat history sidebar, allowing users to keep important conversations readily accessible. This improves user experience and helps organize past interactions. This feature includes: - Pin/unpin buttons in the chat history sidebar. - Updated database schema to include `is_pinned` field for chat history items. - Localized translations for pin/unpin actions. - Updated UI to display pinned items at the top of the list.
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
"webSearch": "Recherche sur le Web",
|
||||
"regenerate": "Régénérer",
|
||||
"edit": "Modifier",
|
||||
"delete": "Supprimer",
|
||||
"saveAndSubmit": "Enregistrer et soumettre",
|
||||
"editMessage": {
|
||||
"placeholder": "Tapez un message..."
|
||||
@@ -101,5 +102,14 @@
|
||||
"translate": "Traduire"
|
||||
},
|
||||
"citations": "Citations",
|
||||
"downloadCode": "Télécharger le code"
|
||||
"downloadCode": "Télécharger le code",
|
||||
"date": {
|
||||
"pinned": "Épinglé",
|
||||
"today": "Aujourd'hui",
|
||||
"yesterday": "Hier",
|
||||
"last7Days": "7 derniers jours",
|
||||
"older": "Plus ancien"
|
||||
},
|
||||
"pin": "Épingler",
|
||||
"unpin": "Désépingler"
|
||||
}
|
||||
@@ -10,9 +10,6 @@
|
||||
"expandedColumns": {
|
||||
"name": "Nom"
|
||||
},
|
||||
"tooltip": {
|
||||
"delete": "Supprimer"
|
||||
},
|
||||
"confirm": {
|
||||
"delete": "Êtes-vous sûr de vouloir supprimer ces connaissances ?"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user