An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipstick: Improve the animation for opening dialog (#15383)
Jeffrey Chen9e7426a6f488
diff --git a/app/src/constants.ts b/app/src/constants.tsindex 511dc7b47e..04c5aca811 100644--- a/app/src/constants.ts+++ b/app/src/constants.ts@@ -225,6 +225,7 @@ export abstract class Constants {public static readonly DIALOG_SAVEWORKSPACE = "dialog-saveworkspace"; // 保存工作空间// timeout+ public static readonly TIMEOUT_OPENDIALOG = 50;public static readonly TIMEOUT_DBLCLICK = 190;public static readonly TIMEOUT_INPUT = 256;public static readonly TIMEOUT_LOAD = 300;diff --git a/app/src/dialog/index.ts b/app/src/dialog/index.tsindex 7933473b08..39c8563759 100644--- a/app/src/dialog/index.ts+++ b/app/src/dialog/index.ts@@ -78,7 +78,7 @@ left:${left || "auto"};top:${top || "auto"}">} else {setTimeout(() => {this.element.classList.add("b3-dialog--open");- });+ }, Constants.TIMEOUT_OPENDIALOG);}/// #if !MOBILEmoveResize(this.element.querySelector(".b3-dialog__container"), options.resizeCallback);