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: Improve notebook sorting without refreshing the entire document tree https://github.com/siyuan-note/siyuan/issues/18857
Daniel902535798f7c
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.tsindex 00ecaa2bd2..e579d4c6bd 100644--- a/app/src/layout/dock/Files.ts+++ b/app/src/layout/dock/Files.ts@@ -1585,8 +1585,8 @@ data-type="navigation-root" data-path="/" data-count="${item.subFileCount || 0}"if (window.siyuan.config.fileTree.sort !== 6) {return;}- setNoteBook(() => {- this.init(false);+ setNoteBook((notebooks) => {+ reorderFileTreeNotebooks(this.element, this.closeElement.lastElementChild, notebooks);});}diff --git a/app/src/mobile/dock/MobileFiles.ts b/app/src/mobile/dock/MobileFiles.tsindex 859d8a88a0..f47859f7db 100644--- a/app/src/mobile/dock/MobileFiles.ts+++ b/app/src/mobile/dock/MobileFiles.ts@@ -1167,8 +1167,8 @@ export class MobileFiles extends Model {if (window.siyuan.config.fileTree.sort !== 6) {return;}- setNoteBook(() => {- this.init(false);+ setNoteBook((notebooks) => {+ reorderFileTreeNotebooks(this.element, this.closeElement.lastElementChild, notebooks);});}