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/13999
Vanessa225ebc5dce54
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex a9dc61af62..7373d3a698 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -519,7 +519,7 @@ export class Files extends Model {// 防止文档拖拽到笔记本外!(!sourceOnlyRoot && targetType === "navigation-root")) {const nodeRect = liElement.getBoundingClientRect();- const dragHeight = nodeRect.height * .36;+ const dragHeight = nodeRect.height * .2;if (targetType === "navigation-root" && sourceOnlyRoot) {if (event.clientY > nodeRect.top + nodeRect.height / 2) {(liElement as HTMLElement).classList.add("dragover__bottom");diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.tsindex 5e5a0b86f5..b1afbe83ad 100644--- a/app/src/layout/dock/Outline.ts+++ b/app/src/layout/dock/Outline.ts@@ -274,7 +274,7 @@ export class Outline extends Model {return;}const selectRect = selectItem.getBoundingClientRect();- const dragHeight = selectRect.height * .36;+ const dragHeight = selectRect.height * .2;if (moveEvent.clientY > selectRect.bottom - dragHeight) {selectItem.classList.add("dragover__bottom");} else if (moveEvent.clientY < selectRect.top + dragHeight) {