An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipstick: https://github.com/siyuan-note/siyuan/issues/7368
Vanessa9249d4e0108a
diff --git a/app/src/card/makeCard.ts b/app/src/card/makeCard.tsindex d652732d33..9ec3f8d41a 100644--- a/app/src/card/makeCard.ts+++ b/app/src/card/makeCard.ts@@ -59,7 +59,7 @@ export const makeCard = (nodeElement: Element[]) => {html += genCardItem(item);});const dialog = new Dialog({- width: isMobile() ? "90vw" : "50vw",+ width: isMobile() ? "90vw" : "768px",height: "70vh",title: window.siyuan.languages.riffCard,content: `<div class="b3-dialog__content fn__flex-column" style="box-sizing: border-box;height: 100%">@@ -79,7 +79,7 @@ export const makeCard = (nodeElement: Element[]) => {}});dialog.element.setAttribute("data-key", "makeCard");- dialog.element.style.zIndex = "199";+ dialog.element.style.zIndex = "200";dialog.element.addEventListener("click", (event) => {let target = event.target as HTMLElement;while (target && !target.isSameNode(dialog.element)) {diff --git a/app/src/constants.ts b/app/src/constants.tsindex e44cbc7d4d..d58143f16f 100644--- a/app/src/constants.ts+++ b/app/src/constants.ts@@ -328,13 +328,13 @@ export abstract class Constants {data: [[{type: "file",- size: {width: 240, height: 0},+ size: {width: 220, height: 0},show: true,icon: "iconFiles",hotkeyLangId: "fileTree",}, {type: "outline",- size: {width: 240, height: 0},+ size: {width: 220, height: 0},show: false,icon: "iconAlignCenter",hotkeyLangId: "outline",@@ -346,13 +346,13 @@ export abstract class Constants {hotkeyLangId: "inbox",}], [{type: "bookmark",- size: {width: 240, height: 0},+ size: {width: 220, height: 0},show: false,icon: "iconBookmark",hotkeyLangId: "bookmark",}, {type: "tag",- size: {width: 240, height: 0},+ size: {width: 220, height: 0},show: false,icon: "iconTags",hotkeyLangId: "tag",@@ -364,19 +364,19 @@ export abstract class Constants {data: [[{type: "graph",- size: {width: 360, height: 0},+ size: {width: 320, height: 0},show: false,icon: "iconGraph",hotkeyLangId: "graphView",}, {type: "globalGraph",- size: {width: 360, height: 0},+ size: {width: 320, height: 0},show: false,icon: "iconGlobalGraph",hotkeyLangId: "globalGraph",}], [{type: "backlink",- size: {width: 360, height: 0},+ size: {width: 320, height: 0},show: false,icon: "iconLink",hotkeyLangId: "backlinks",diff --git a/app/src/layout/dock/index.ts b/app/src/layout/dock/index.tsindex a4ad8b2c1c..bf5bb9683e 100644--- a/app/src/layout/dock/index.ts+++ b/app/src/layout/dock/index.ts@@ -525,9 +525,9 @@ ${this.position === "Top" ? "top" : "bottom"}:-${this.layout.element.clientHeighthis.element.querySelectorAll(".dock__item--active").forEach((item) => {let size;if (this.position === "Left" || this.position === "Right") {- size = parseInt(item.getAttribute("data-width")) || (["graph", "globalGraph", "backlink"].includes(item.getAttribute("data-type")) ? 320 : 240);+ size = parseInt(item.getAttribute("data-width")) || (["graph", "globalGraph", "backlink"].includes(item.getAttribute("data-type")) ? 320 : 220);} else {- size = parseInt(item.getAttribute("data-height")) || 240;+ size = parseInt(item.getAttribute("data-height")) || 220;}if (size > max) {max = size;diff --git a/app/src/layout/util.ts b/app/src/layout/util.tsindex a9748f0d56..fc2548c297 100644--- a/app/src/layout/util.ts+++ b/app/src/layout/util.ts@@ -653,10 +653,10 @@ export const addResize = (obj: Layout | Wnd) => {if (previousNowSize < 8 || nextNowSize < 8) {return;}- if (window.siyuan.layout.leftDock?.layout.element.contains(previousElement) && previousNowSize < 188) {+ if (window.siyuan.layout.leftDock?.layout.element.contains(previousElement) && previousNowSize < 220) {return;}- if (window.siyuan.layout.rightDock?.layout.element.contains(nextElement) && nextNowSize < 188) {+ if (window.siyuan.layout.rightDock?.layout.element.contains(nextElement) && nextNowSize < 320) {return;}previousElement.style[direction === "lr" ? "width" : "height"] = previousNowSize + "px";