An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:white_check_mark: Capture idle workspace storage layouts https://github.com/siyuan-note/siyuan/pull/20721
Daniel0bfb6cc11b79
diff --git a/app/src/config/tabs/workspaceStorage.test.ts b/app/src/config/tabs/workspaceStorage.test.tsindex e4d5075f20..ca4ae333c6 100644--- a/app/src/config/tabs/workspaceStorage.test.ts+++ b/app/src/config/tabs/workspaceStorage.test.ts@@ -114,6 +114,7 @@ const browserCases = async (source: string, sharedSource: string, echartsPath: scheck.equal(getComputedStyle(status()).marginTop, "0px", "idle state must not reserve status spacing");check.equal(getComputedStyle(root.querySelector<HTMLElement>(".workspace-storage__header")).paddingBottom, "0px","idle state must not reserve header spacing");+ await captures("desktop-initial-idle");button().dispatchEvent(new Event("click"));check.equal(requests.length, 1);check.equal(button().disabled, true);@@ -252,6 +253,7 @@ const browserCases = async (source: string, sharedSource: string, echartsPath: sconst context = `${locale}-${mobile ? "mobile" : "desktop"}-${width}-${fontSize}`;mount();check.equal(requests.length, requestIndex, `${context}: opening the settings must not scan`);+ await captures(`${context}-idle`);button().click();if (mobile && locale === "zh-CN") {check.ok(!loading().classList.contains("fn__none"));