An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:rotating_light:
Vanessaee0b52ae56b7
diff --git a/app/src/mobile/util/initFramework.ts b/app/src/mobile/util/initFramework.tsindex 17a955905c..7fa2d37214 100644--- a/app/src/mobile/util/initFramework.ts+++ b/app/src/mobile/util/initFramework.ts@@ -29,7 +29,7 @@ export const initFramework = () => {let bookmark: MobileBookmarks;let tag: MobileTags;// 不能使用 getEventName,否则点击返回会展开右侧栏- const firstToolbarElement = sidebarElement.querySelector(".toolbar--border")+ const firstToolbarElement = sidebarElement.querySelector(".toolbar--border");firstToolbarElement.addEventListener("click", (event: Event & {target: Element}) => {diff --git a/app/src/util/Tree.ts b/app/src/util/Tree.tsindex 7b9863dfd0..270fc48aaa 100644--- a/app/src/util/Tree.ts+++ b/app/src/util/Tree.ts@@ -77,10 +77,10 @@ export class Tree {let style = "";if (isMobile()) {if (item.depth > 0) {- style = `padding-left: ${(item.depth - 1) * 29 + 40}px`+ style = `padding-left: ${(item.depth - 1) * 29 + 40}px`;}} else {- style = `padding-left: ${(item.depth - 1) * 18 + 22}px;margin-right: 2px`+ style = `padding-left: ${(item.depth - 1) * 18 + 22}px;margin-right: 2px`;}html += `<li class="b3-list-item"${(item.nodeType !== "NodeDocument" && item.type === "backlink") ? 'draggable="true" ' : ""}@@ -130,10 +130,10 @@ ${item.label ? "data-label='" + item.label + "'" : ""}>let style = "";if (isMobile()) {if (item.depth > 0) {- style = `padding-left: ${(item.depth - 1) * 29 + 40}px`+ style = `padding-left: ${(item.depth - 1) * 29 + 40}px`;}} else {- style = `padding-left: ${(item.depth - 1) * 18 + 22}px;margin-right: 2px`+ style = `padding-left: ${(item.depth - 1) * 18 + 22}px;margin-right: 2px`;}html += `<li ${type === "backlink" ? 'draggable="true"' : ""}class="b3-list-item ${isMobile() ? "" : "b3-list-item--hide-action"}"