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 text https://github.com/siyuan-note/siyuan/issues/14414
Danielcf48690f972f
diff --git a/app/src/config/fileTree.ts b/app/src/config/fileTree.tsindex 195eeb15c4..80f561832d 100644--- a/app/src/config/fileTree.ts+++ b/app/src/config/fileTree.ts@@ -123,16 +123,6 @@ export const fileTree = {<div class="fn__space"></div><input class="b3-text-field fn__flex-1" id="refCreateSavePath" value="${window.siyuan.config.fileTree.refCreateSavePath}"></div>-</div>-<div class="b3-label config__item">- ${window.siyuan.languages.fileTree26}- <div class="b3-label__text">${window.siyuan.languages.fileTree27}</div>- <span class="fn__hr"></span>- <div class="fn__flex">- <select style="min-width: 200px" class="b3-select" id="shorthandSaveBox">${genNotebookOption(window.siyuan.config.fileTree.shorthandSaveBox, undefined, true)}</select>- <div class="fn__space"></div>- <input class="b3-text-field fn__flex-1" id="shorthandSavePath" value="${window.siyuan.config.fileTree.shorthandSavePath}">- </div></div>`;},_send() {@@ -152,8 +142,6 @@ export const fileTree = {alwaysSelectOpenedFile: (fileTree.element.querySelector("#alwaysSelectOpenedFile") as HTMLInputElement).checked,refCreateSavePath: (fileTree.element.querySelector("#refCreateSavePath") as HTMLInputElement).value,refCreateSaveBox: (fileTree.element.querySelector("#refCreateSaveBox") as HTMLInputElement).value,- shorthandSavePath: (fileTree.element.querySelector("#shorthandSavePath") as HTMLInputElement).value,- shorthandSaveBox: (fileTree.element.querySelector("#shorthandSaveBox") as HTMLInputElement).value,docCreateSavePath: (fileTree.element.querySelector("#docCreateSavePath") as HTMLInputElement).value,docCreateSaveBox: (fileTree.element.querySelector("#docCreateSaveBox") as HTMLInputElement).value,openFilesUseCurrentTab: (fileTree.element.querySelector("#openFilesUseCurrentTab") as HTMLInputElement).checked,@@ -174,7 +162,6 @@ export const fileTree = {bindEvent: () => {(fileTree.element.querySelector("#docCreateSavePath") as HTMLInputElement).value = window.siyuan.config.fileTree.docCreateSavePath;(fileTree.element.querySelector("#refCreateSavePath") as HTMLInputElement).value = window.siyuan.config.fileTree.refCreateSavePath;- (fileTree.element.querySelector("#shorthandSavePath") as HTMLInputElement).value = window.siyuan.config.fileTree.shorthandSavePath;fileTree.element.querySelectorAll("input, select").forEach((item) => {item.addEventListener("change", () => {fileTree._send();diff --git a/app/src/menus/onGetnotebookconf.ts b/app/src/menus/onGetnotebookconf.tsindex 16063fff7e..9700dd6241 100644--- a/app/src/menus/onGetnotebookconf.ts+++ b/app/src/menus/onGetnotebookconf.ts@@ -17,8 +17,6 @@ declare interface INotebookConf {refCreateSaveBox: string;docCreateSaveBox: string;dailyNoteTemplatePath: string- shorthandSaveBox: string;- shorthandSavePath: string;}}@@ -73,16 +71,6 @@ export const onGetnotebookconf = (data: INotebookConf) => {<input class="b3-text-field fn__flex-1" id="refCreateSavePath" value=""></div></div>-<div class="b3-label config__item">- ${window.siyuan.languages.fileTree26}- <div class="b3-label__text">${window.siyuan.languages.fileTree27}</div>- <span class="fn__hr"></span>- <div class="fn__flex">- <select style="min-width: 200px" class="b3-select" id="shorthandSaveBox">${genNotebookOption(data.conf.shorthandSaveBox, data.box, true)}</select>- <div class="fn__space"></div>- <input class="b3-text-field fn__flex-1" id="shorthandSavePath" value="">- </div>-</div><div class="b3-label">${window.siyuan.languages.fileTree11}<div class="b3-label__text">${window.siyuan.languages.fileTree14}</div>@@ -124,8 +112,6 @@ const bindSettingEvent = (contentElement: Element, data: INotebookConf) => {docCreateSavePathElement.value = data.conf.docCreateSavePath;const refCreateSavePathElement = contentElement.querySelector("#refCreateSavePath") as HTMLInputElement;refCreateSavePathElement.value = data.conf.refCreateSavePath;- const shorthandSavePathElement = contentElement.querySelector("#shorthandSavePath") as HTMLInputElement;- shorthandSavePathElement.value = data.conf.shorthandSavePath;const dailyNoteTemplatePathElement = contentElement.querySelector("#dailyNoteTemplatePath") as HTMLInputElement;dailyNoteTemplatePathElement.value = data.conf.dailyNoteTemplatePath;contentElement.querySelectorAll("input, select").forEach((item) => {@@ -139,8 +125,6 @@ const bindSettingEvent = (contentElement: Element, data: INotebookConf) => {docCreateSavePath: docCreateSavePathElement.value,dailyNoteSavePath: dailyNoteSavePathElement.value,dailyNoteTemplatePath: dailyNoteTemplatePathElement.value,- shorthandSaveBox: (contentElement.querySelector("#shorthandSaveBox") as HTMLInputElement).value,- shorthandSavePath: shorthandSavePathElement.value,}});});