Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/7976

Vanessa852f264f8077
diff --git a/app/src/constants.ts b/app/src/constants.ts
index 12b713ca6e..c28c74033e 100644
--- a/app/src/constants.ts
+++ b/app/src/constants.ts
@@ -700,13 +700,13 @@ export abstract class Constants {
type: "bookmark",
size: {width: 232, height: 0},
show: false,
- icon: "iconBookmarks",
+ icon: "iconBookmark",
hotkeyLangId: "bookmark",
}, {
type: "tag",
size: {width: 232, height: 0},
show: false,
- icon: "iconTags",
+ icon: "iconTag",
hotkeyLangId: "tag",
}]
]
diff --git a/app/src/layout/dock/index.ts b/app/src/layout/dock/index.ts
index 88b44c78fb..f75163b99a 100644
--- a/app/src/layout/dock/index.ts
+++ b/app/src/layout/dock/index.ts
@@ -848,11 +848,11 @@ export class Dock {
if (typeof tabIndex === "undefined" && !TYPES.includes(item.type)) {
return;
}
- // https://github.com/siyuan-note/siyuan/issues/7976 历史兼容 3.6.5->3.6.6
+ // https://github.com/siyuan-note/siyuan/issues/7976 历史兼容 3.6.5->3.7.0
if (item.type === "outline") {
item.icon = "iconOutline";
- } else if (item.type === "bookmark") {
- item.icon = "iconBookmarks";
+ } else if (item.type === "tags") {
+ item.icon = "tag";
}
html += `<span data-height="${item.size.height}" data-width="${item.size.width}" data-type="${item.type}" data-index="${index}" data-hotkey="${item.hotkey || ""}" data-hotkeylangid="${item.hotkeyLangId || ""}" data-title="${item.title}" class="dock__item${item.show ? " dock__item--active" : ""} ariaLabel" aria-label="<span style='white-space:pre'>${item.title} ${item.hotkey ? updateHotkeyTip(item.hotkey) : ""}${window.siyuan.languages.dockTip}</span>">
<svg><use xlink:href="#${item.icon}"></use></svg>