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": "搜索网络",
|
||||
"regenerate": "重新生成",
|
||||
"edit": "编辑",
|
||||
"delete": "删除",
|
||||
"saveAndSubmit": "保存 & 提交",
|
||||
"editMessage": {
|
||||
"placeholder": "输入一条消息..."
|
||||
@@ -101,5 +102,14 @@
|
||||
"translate": "翻译"
|
||||
},
|
||||
"citations": "引用",
|
||||
"downloadCode": "下载代码"
|
||||
"downloadCode": "下载代码",
|
||||
"date": {
|
||||
"pinned": "已置顶",
|
||||
"today": "今天",
|
||||
"yesterday": "昨天",
|
||||
"last7Days": "最近7天",
|
||||
"older": "更早"
|
||||
},
|
||||
"pin": "置顶",
|
||||
"unpin": "取消置顶"
|
||||
}
|
||||
@@ -10,9 +10,6 @@
|
||||
"expandedColumns": {
|
||||
"name": "名称"
|
||||
},
|
||||
"tooltip": {
|
||||
"delete": "删除"
|
||||
},
|
||||
"confirm": {
|
||||
"delete": "您确定要删除此知识吗?"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user