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": "Søger på internettet",
|
||||
"regenerate": "Regenerer",
|
||||
"edit": "Ændre",
|
||||
"delete": "Slet",
|
||||
"saveAndSubmit": "Gem & Indsend",
|
||||
"editMessage": {
|
||||
"placeholder": "Skriv en besked..."
|
||||
@@ -102,5 +103,14 @@
|
||||
"custom": "Brugerdefineret"
|
||||
},
|
||||
"citations": "Citater",
|
||||
"downloadCode": "Download Kode"
|
||||
"downloadCode": "Download Kode",
|
||||
"date": {
|
||||
"pinned": "Fastgjort",
|
||||
"today": "I dag",
|
||||
"yesterday": "I går",
|
||||
"last7Days": "Sidste 7 dage",
|
||||
"older": "Ældre"
|
||||
},
|
||||
"pin": "Fastgør",
|
||||
"unpin": "Frigør"
|
||||
}
|
||||
Reference in New Issue
Block a user