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: https://github.com/siyuan-note/siyuan/pull/15011
Vanessafc665fbf97e0
diff --git a/app/src/layout/dock/index.ts b/app/src/layout/dock/index.tsindex 0e4c200995..fe49c59fc9 100644--- a/app/src/layout/dock/index.ts+++ b/app/src/layout/dock/index.ts@@ -112,6 +112,13 @@ export class Dock {if (activeElements.length === 0) {this.resizeElement.classList.add("fn__none");+ // 如果没有打开的侧栏,隐藏 layout 的子元素+ if (this.layout.children.length > 1) {+ this.layout.children.forEach(child => {+ child.element.classList.add("fn__none");+ });+ this.layout.children[0].element.nextElementSibling?.classList.add("fn__none");+ }} else {activeElements.forEach(item => {this.toggleModel(item.getAttribute("data-type") as TDock, true, false, false, false);