Skip to content

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

:lipstick: Add a warning icon to encrypted asset confirmation https://github.com/siyuan-note/siyuan/issues/19615

Danielecd269bce802
diff --git a/app/src/editor/util.ts b/app/src/editor/util.ts
index b9d64e5292..22cee9984d 100644
--- a/app/src/editor/util.ts
+++ b/app/src/editor/util.ts
@@ -848,7 +848,7 @@ export const openBy = (url: string, type: "folder" | "app") => {
});
};
if (isEncryptedBox(new URL(url, window.location.origin).searchParams.get("box"))) {
- confirmDialog(window.siyuan.languages.openBy, window.siyuan.languages.encryptedAssetExternalOpenTip, open);
+ confirmDialog("⚠️ " + window.siyuan.languages.openBy, window.siyuan.languages.encryptedAssetExternalOpenTip, open);
} else {
open();
}