diff --git a/dots/.config/quickshell/ii/modules/sidebarLeft/aiChat/AiMessage.qml b/dots/.config/quickshell/ii/modules/sidebarLeft/aiChat/AiMessage.qml index 3cccb9d8f..d0269a88b 100644 --- a/dots/.config/quickshell/ii/modules/sidebarLeft/aiChat/AiMessage.qml +++ b/dots/.config/quickshell/ii/modules/sidebarLeft/aiChat/AiMessage.qml @@ -265,8 +265,23 @@ Rectangle { ColumnLayout { // Message content id: messageContentColumnLayout - spacing: 0 + + Item { + Layout.fillWidth: true + implicitHeight: loadingIndicatorLoader.implicitHeight + implicitWidth: loadingIndicatorLoader.implicitWidth + visible: loadingIndicatorLoader.visible + FadeLoader { + id: loadingIndicatorLoader + anchors.centerIn: parent + shown: (root.messageBlocks.length < 1) && (!root.messageData.done) + sourceComponent: MaterialLoadingIndicator { + loading: true + } + } + } + Repeater { model: ScriptModel { values: Array.from({ length: root.messageBlocks.length }, (msg, i) => {