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/issues/15762
Vanessa9c37468386c6
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex 3228aeabc8..146aefb4f4 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -1016,6 +1016,12 @@ data-type="navigation-root" data-path="/">} else {sourceElement.remove();}+ } else {+ const parentElement = this.element.querySelector(`ul[data-url="${response.data.fromNotebook}"] li[data-path="${pathPosix().dirname(response.data.fromPath)}.sy"]`) as HTMLElement;+ if (parentElement && parentElement.getAttribute("data-count") === "1") {+ parentElement.querySelector(".b3-list-item__toggle").classList.add(".fn__hidden");+ parentElement.querySelector(".b3-list-item__arrow").classList.remove("b3-list-item__arrow--open");+ }}const newElement = this.element.querySelector(`[data-url="${response.data.toNotebook}"] li[data-path="${response.data.toPath}"]`) as HTMLElement;// 更新移动到的新文件夹