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/9570
Vanessad93bd7cfe5e2
diff --git a/app/src/block/popover.ts b/app/src/block/popover.tsindex bff6c9b756..0b3bd68acd 100644--- a/app/src/block/popover.ts+++ b/app/src/block/popover.ts@@ -27,7 +27,11 @@ export const initBlockPopover = (app: App) => {}if (aElement.classList.contains("av__celltext")) {if (aElement.scrollWidth > aElement.parentElement.clientWidth - 11) {- tip = aElement.textContent;+ if (aElement.querySelector(".av__cellicon")) {+ tip = `${aElement.firstChild.textContent} ➡️ ${aElement.lastChild.textContent}`+ } else {+ tip = aElement.textContent;+ }} else {return;}diff --git a/app/src/menus/commonMenuItem.ts b/app/src/menus/commonMenuItem.tsindex cf13b33f71..884bbc960a 100644--- a/app/src/menus/commonMenuItem.ts+++ b/app/src/menus/commonMenuItem.ts@@ -45,7 +45,7 @@ export const openWechatNotify = (nodeElement: Element) => {<div class="fn__flex"><span class="ft__on-surface fn__flex-center" style="text-align: right;white-space: nowrap;width: 100px">${window.siyuan.languages.notifyTime}</span><div class="fn__space"></div>- <input class="b3-text-field fn__flex-1" type="datetime-local" value="${reminderFormat}">+ <input class="b3-text-field fn__flex-1" type="datetime-local" max="9999-12-31 23:59" value="${reminderFormat}"></div><div class="b3-label__text" style="text-align: center">${window.siyuan.languages.wechatTip}</div></div>@@ -110,7 +110,7 @@ export const openFileWechatNotify = (protyle: IProtyle) => {<div class="fn__flex"><span class="ft__on-surface fn__flex-center" style="text-align: right;white-space: nowrap;width: 100px">${window.siyuan.languages.notifyTime}</span><div class="fn__space"></div>- <input class="b3-text-field fn__flex-1" type="datetime-local" value="${reminderFormat}">+ <input class="b3-text-field fn__flex-1" type="datetime-local" max="9999-12-31 23:59" value="${reminderFormat}"></div><div class="b3-label__text" style="text-align: center">${window.siyuan.languages.wechatTip}</div></div>@@ -162,7 +162,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: InotifyHTML = `<label class="b3-label b3-label--noborder">${window.siyuan.languages.wechatReminder}<div class="fn__hr"></div>- <input class="b3-text-field fn__block" type="datetime-local" readonly data-name="${item}" value="${dayjs(attrs[item]).format("YYYY-MM-DD HH:mm")}">+ <input class="b3-text-field fn__block" type="datetime-local" max="9999-12-31 23:59" readonly data-name="${item}" value="${dayjs(attrs[item]).format("YYYY-MM-DD HH:mm")}"></label>`;} else if (item.indexOf("custom-av") > -1) {hasAV = true;diff --git a/app/src/protyle/render/av/date.ts b/app/src/protyle/render/av/date.tsindex c55b80f51b..de582aadc4 100644--- a/app/src/protyle/render/av/date.ts+++ b/app/src/protyle/render/av/date.ts@@ -35,8 +35,8 @@ export const getDateHTML = (data: IAVTable, cellElements: HTMLElement[]) => {}return `<div class="b3-menu__items"><div>- <input type="${(!cellValue || cellValue?.value?.date?.isNotTime) ? "date" : "datetime-local"}" value="${value}" data-value="${value ? dayjs(cellValue.value.date.content).format("YYYY-MM-DD HH:mm") : ""}" class="b3-text-field fn__size200"><br>- <input type="${(!cellValue || cellValue?.value?.date?.isNotTime) ? "date" : "datetime-local"}" value="${value2}" data-value="${value2 ? dayjs(cellValue.value.date.content2).format("YYYY-MM-DD HH:mm") : ""}" style="margin-top: 8px" class="b3-text-field fn__size200${hasEndDate ? "" : " fn__none"}">+ <input type="${(!cellValue || cellValue?.value?.date?.isNotTime) ? "date" : "datetime-local"}" max="9999-12-31 23:59" value="${value}" data-value="${value ? dayjs(cellValue.value.date.content).format("YYYY-MM-DD HH:mm") : ""}" class="b3-text-field fn__size200"><br>+ <input type="${(!cellValue || cellValue?.value?.date?.isNotTime) ? "date" : "datetime-local"}" max="9999-12-31 23:59" value="${value2}" data-value="${value2 ? dayjs(cellValue.value.date.content2).format("YYYY-MM-DD HH:mm") : ""}" style="margin-top: 8px" class="b3-text-field fn__size200${hasEndDate ? "" : " fn__none"}"><button class="b3-menu__separator"></button><label class="b3-menu__item"><span>${window.siyuan.languages.endDate}</span>