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: https://github.com/siyuan-note/siyuan/issues/17842
Danield134a9f9565e
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.tsindex abfa3471df..37987b4425 100644--- a/app/src/dialog/processSystem.ts+++ b/app/src/dialog/processSystem.ts@@ -521,26 +521,22 @@ export const bootSync = () => {};export const setTitle = (title: string, showVersionTitle = false) => {- if (window.siyuan.config.appearance.hideToolbar) {- return;- }const dragElement = document.getElementById("drag");const workspaceName = getWorkspaceName();if (showVersionTitle) {const versionTitle = `${workspaceName} - ${window.siyuan.languages.siyuanNote} v${Constants.SIYUAN_VERSION}`;document.title = versionTitle;- if (dragElement) {+ if (!window.siyuan.config.appearance.hideToolbar && dragElement) {dragElement.textContent = versionTitle;dragElement.setAttribute("title", versionTitle);}} else {title = title.trim() || window.siyuan.languages["_kernel"][16];document.title = `${title} - ${workspaceName} - ${window.siyuan.languages.siyuanNote} v${Constants.SIYUAN_VERSION}`;- if (!dragElement) {- return;+ if (!window.siyuan.config.appearance.hideToolbar && dragElement) {+ dragElement.setAttribute("title", title);+ dragElement.innerHTML = escapeHtml(title);}- dragElement.setAttribute("title", title);- dragElement.innerHTML = escapeHtml(title);}};