An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: status
Vanessa8849aa75af5d
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.tsindex e7d4972479..c070aa1dc7 100644--- a/app/src/dialog/processSystem.ts+++ b/app/src/dialog/processSystem.ts@@ -278,7 +278,7 @@ export const transactionError = () => {});};-let statusMobileTimeout:number;+let statusTimeout: number;export const progressStatus = (data: IWebSocketData) => {const statusElement = document.querySelector("#status") as HTMLElement;if (!statusElement) {@@ -288,20 +288,21 @@ export const progressStatus = (data: IWebSocketData) => {if (!document.querySelector("#keyboardToolbar").classList.contains("fn__none")) {return;}- clearTimeout(statusMobileTimeout);+ clearTimeout(statusTimeout);statusElement.innerHTML = data.msg;statusElement.style.bottom = "0";- statusMobileTimeout = window.setTimeout(() => {+ statusTimeout = window.setTimeout(() => {statusElement.style.bottom = "";}, 5000);- return;- }- const msgElement = statusElement.querySelector(".status__msg");- if (msgElement) {- msgElement.innerHTML = data.msg;- setTimeout(() => {- msgElement.innerHTML = "";- }, 5000);+ } else {+ const msgElement = statusElement.querySelector(".status__msg");+ if (msgElement) {+ clearTimeout(statusTimeout)+ msgElement.innerHTML = data.msg;+ statusTimeout = window.setTimeout(() => {+ msgElement.innerHTML = "";+ }, 5000);+ }}};