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/9958
Vanessa0910f52a9d35
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex 0810e95353..6f2e520f43 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -643,6 +643,10 @@ export const renderCell = (cellValue: IAVCellValue, wrap: boolean) => {});} else if (cellValue.type === "checkbox") {text += `<svg class="av__checkbox"><use xlink:href="#icon${cellValue?.checkbox?.checked ? "Check" : "Uncheck"}"></use></svg>`;+ } else if (cellValue.type === "rollup") {+ cellValue?.rollup?.contents?.forEach((item) => {+ text += `<span class="av__celltext--ref" style="margin-right: 8px">${item}</span>`;+ });} else if (cellValue.type === "relation") {cellValue?.relation?.contents?.forEach((item, index) => {text += `<span class="av__celltext--ref" style="margin-right: 8px" data-id="${cellValue?.relation?.blockIDs[index]}">${item}</span>`;diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.tsindex 8b5f95f8bb..d391e1f6c7 100644--- a/app/src/types/index.d.ts+++ b/app/src/types/index.d.ts@@ -1143,6 +1143,9 @@ interface IAVCellValue {blockIDs: string[]contents?: string[]}+ rollup?: {+ contents?: string[]+ }date?: IAVCellDateValuecreated?: IAVCellDateValueupdated?: IAVCellDateValue