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 7s
JS/TS / lint (pull_request) Successful in 8s
Python / static (pull_request) Successful in 25s
Rust / build (pull_request) Successful in 50s
Rust / fmt (pull_request) Successful in 30s
Python / verify (pull_request) Successful in 1m44s
Rust / clippy (pull_request) Successful in 45s
28 lines
682 B
QML
28 lines
682 B
QML
pragma Singleton
|
|
|
|
import QtQuick
|
|
import Quickshell
|
|
import ZShell.Llm
|
|
import qs.Services
|
|
|
|
Singleton {
|
|
id: root
|
|
|
|
property ChatSession chatSession
|
|
readonly property string title: chatSession ? chatSession.title : "Chat"
|
|
property int currentIdx: -1
|
|
property bool inChat: false
|
|
property bool fabExpanded: false
|
|
property bool isWindow: false
|
|
property bool isWide: false
|
|
property bool settledSlim: false
|
|
property bool settledWide: false
|
|
property bool narrowSidebarExpanded: false
|
|
property bool windowIsWide: false
|
|
property ShellScreen screen
|
|
property bool sidebarVisible: ShellState.forActive().sidebar
|
|
|
|
onSidebarVisibleChanged: if (!sidebarVisible)
|
|
fabExpanded = false
|
|
}
|