An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:sparkles: https://github.com/siyuan-note/siyuan/issues/12091
Vanessaa6d3093cfce4
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex 9d77ab25f3..866a8759e5 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -980,7 +980,7 @@ export const renderCell = (cellValue: IAVCellValue, rowIndex = 0, showIcon = truconst dataValue = cellValue ? cellValue[cellValue.type as "date"] : null;text = `<span class="av__celltext" data-value='${JSON.stringify(dataValue)}'>`;if (dataValue && dataValue.isNotEmpty) {- text += dayjs(dataValue.content).format("YYYY-MM-DD HH:mm");+ text += dataValue.formattedContent;}text += "</span>";} else if (["lineNumber"].includes(cellValue.type)) {diff --git a/app/src/protyle/render/av/col.ts b/app/src/protyle/render/av/col.tsindex 4b3197220d..9b3d28b66a 100644--- a/app/src/protyle/render/av/col.ts+++ b/app/src/protyle/render/av/col.ts@@ -193,7 +193,7 @@ export const getEditHTML = (options: {<label class="b3-menu__item"><span class="fn__flex-center">${window.siyuan.languages.includeTime}</span><span class="fn__space fn__flex-1"></span>- <input data-type="includeTime" type="checkbox" class="b3-switch b3-switch--menu" ${colData[colData.type as "updated"]?.includeTime ? "checked" : ""}>+ <input data-type="includeTime" type="checkbox" class="b3-switch b3-switch--menu" ${(!colData[colData.type as "updated"] || colData[colData.type as "updated"].includeTime) ? "checked" : ""}></label>`;}html += `<button class="b3-menu__separator" data-id="separator_3"></button>@@ -386,7 +386,11 @@ export const bindEditEvent = (options: {avID,data: !includeTimeElement.checked,}]);- colData[colData.type as "updated"].includeTime = includeTimeElement.checked;+ if (colData[colData.type as "updated"]) {+ colData[colData.type as "updated"].includeTime = includeTimeElement.checked;+ } else {+ colData[colData.type as "updated"] = {includeTime: includeTimeElement.checked};+ }});}