fix: Saving name of chat in native language

- Add button to show chat history folder in system viewer
This commit is contained in:
Petr Mironychev
2025-01-26 23:06:51 +01:00
parent 45aba6b6be
commit 56995c9edf
4 changed files with 70 additions and 9 deletions

View File

@ -75,6 +75,7 @@ ChatRootView {
recentPath {
text: qsTr("Latest chat file name: %1").arg(root.chatFileName.length > 0 ? root.chatFileName : "Unsaved")
}
openChatHistory.onClicked: root.openChatHistoryFolder()
}
ListView {

View File

@ -29,6 +29,7 @@ Rectangle {
property alias clearButton: clearButtonId
property alias tokensBadge: tokensBadgeId
property alias recentPath: recentPathId
property alias openChatHistory: openChatHistoryId
color: palette.window.hslLightness > 0.5 ?
Qt.darker(palette.window, 1.1) :
@ -66,11 +67,16 @@ Rectangle {
Text {
id: recentPathId
Layout.fillWidth: true
elide: Text.ElideMiddle
color: palette.text
}
QoAButton {
id: openChatHistoryId
text: qsTr("Show in system")
}
Item {
Layout.fillWidth: true
}