An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: https://github.com/siyuan-note/siyuan/issues/10500
Vanessa3ce6e4824b02
diff --git a/app/src/layout/dock/util.ts b/app/src/layout/dock/util.tsindex 6b70d57294..69847f702d 100644--- a/app/src/layout/dock/util.ts+++ b/app/src/layout/dock/util.ts@@ -2,7 +2,7 @@ import {getAllModels} from "../getAll";import {Tab} from "../Tab";import {Graph} from "./Graph";import {Outline} from "./Outline";-import {getInstanceById, getWndByLayout, switchWnd} from "../util";+import {getInstanceById, getWndByLayout, saveLayout, switchWnd} from "../util";import {resizeTabs} from "../tabUtil";import {Backlink} from "./Backlink";import {App} from "../../index";@@ -158,10 +158,12 @@ export const openOutline = async (protyle: IProtyle) => {isPreview: !protyle.preview.element.classList.contains("fn__none")}));}- }));- newWnd.element.classList.remove("fn__flex-1");- newWnd.element.style.width = "200px";+ }), false, false);switchWnd(newWnd, wnd);+ // https://github.com/siyuan-note/siyuan/issues/10500+ wnd.element.classList.remove("fn__flex-1");+ wnd.element.style.width = wnd.element.parentElement.clientWidth - 200 + "px";+ saveLayout();};export const resetFloatDockSize = () => {