Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Update statusbar message timeout

Daniel5ede8fd1be1d
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.ts
index c8822e6454..626e6dfba6 100644
--- a/app/src/dialog/processSystem.ts
+++ b/app/src/dialog/processSystem.ts
@@ -284,6 +284,7 @@ export const progressStatus = (data: IWebSocketData) => {
if (!statusElement) {
return;
}
+
if (isMobile()) {
if (!document.querySelector("#keyboardToolbar").classList.contains("fn__none")) {
return;
@@ -293,7 +294,7 @@ export const progressStatus = (data: IWebSocketData) => {
statusElement.style.bottom = "0";
statusTimeout = window.setTimeout(() => {
statusElement.style.bottom = "";
- }, 5000);
+ }, 7000);
} else {
const msgElement = statusElement.querySelector(".status__msg");
if (msgElement) {
@@ -301,7 +302,7 @@ export const progressStatus = (data: IWebSocketData) => {
msgElement.innerHTML = data.msg;
statusTimeout = window.setTimeout(() => {
msgElement.innerHTML = "";
- }, 5000);
+ }, 7000);
}
}
};