Merge branch 'main' into feat/llm-chat-tab
C++ / fmt (pull_request) Failing after 3s
C++ / build (pull_request) Failing after 9s
C++ / clang-tidy (pull_request) Failing after 9s
JS/TS / fmt (pull_request) Successful in 9s
JS/TS / lint (pull_request) Successful in 10s
Python / static (pull_request) Successful in 28s
Rust / build (pull_request) Successful in 49s
Python / verify (pull_request) Successful in 1m40s
Rust / fmt (pull_request) Successful in 27s
Rust / clippy (pull_request) Successful in 46s

This commit is contained in:
2026-09-30 17:59:14 +02:00
298 changed files with 18329 additions and 6057 deletions
+8 -10
View File
@@ -10,13 +10,12 @@ import qs.Services
Item {
id: root
required property Props props
required property var visibilities
required property ScreenState screenState
Connections {
function onIsWindowChanged(): void {
if (ChatState.isWindow)
root.props.currentTab = 0;
root.screenState.dashboardTab = 0;
}
target: ChatState
@@ -31,7 +30,7 @@ Item {
Tabs {
Layout.fillWidth: true
Layout.preferredHeight: ChatState.isWindow || !Config.llm.enabled ? 0 : implicitHeight
dashState: root.props
screenState: root.screenState
nonAnimWidth: layout.width
visible: height > 0
}
@@ -47,9 +46,9 @@ Item {
anchors.bottom: parent.bottom
anchors.top: parent.top
implicitWidth: parent.width
opacity: root.props.currentTab === 0 ? 1 : 0
opacity: root.screenState.dashboardTab === 0 ? 1 : 0
visible: opacity > 0
x: root.props.currentTab === 0 ? 0 : -root.width
x: root.screenState.dashboardTab === 0 ? 0 : -root.width
Behavior on opacity {
Anim {}
@@ -64,8 +63,7 @@ Item {
radius: Tokens.rounding.small
NotifDock {
props: root.props
visibilities: root.visibilities
screenState: root.screenState
}
}
}
@@ -82,9 +80,9 @@ Item {
sourceComponent: Item {
id: chatPage
opacity: root.props.currentTab === 1 ? 1 : 0
opacity: root.screenState.dashboardTab === 1 ? 1 : 0
visible: opacity > 0
x: root.props.currentTab === 0 ? root.width : 0
x: root.screenState.dashboardTab === 0 ? root.width : 0
z: 1
Behavior on opacity {