An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:rotating_light:
Vanessa30db8f4eb03a
diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.tsindex 89e7d6e602..48a2eca00a 100644--- a/app/src/protyle/render/av/filter.ts+++ b/app/src/protyle/render/av/filter.ts@@ -65,7 +65,7 @@ export const setFilter = async (options: {if (rectTarget.height === 0) {rectTarget = options.protyle.wysiwyg.element.querySelector(`[data-col-id="${options.target.dataset.colId}"]`).getBoundingClientRect();}- const blockID = options.blockElement.getAttribute("data-node-id")+ const blockID = options.blockElement.getAttribute("data-node-id");const menu = new Menu("set-filter-" + options.filter.column, () => {const oldFilters = JSON.parse(JSON.stringify(options.data.view.filters));const selectElement = menu.element.querySelector(".b3-select") as HTMLSelectElement;@@ -510,7 +510,7 @@ export const addFilter = (options: {operator: getDefaultOperatorByType(column.type),value: cellValue,type: column.type- }+ };options.data.view.filters.push(filter);options.menuElement.innerHTML = getFiltersHTML(options.data.view);setPosition(options.menuElement, options.tabRect.right - options.menuElement.clientWidth, options.tabRect.bottom, options.tabRect.height);diff --git a/app/src/protyle/render/av/openMenuPanel.ts b/app/src/protyle/render/av/openMenuPanel.tsindex 6263754549..e7af5296b0 100644--- a/app/src/protyle/render/av/openMenuPanel.ts+++ b/app/src/protyle/render/av/openMenuPanel.ts@@ -715,7 +715,7 @@ export const openMenuPanel = (options: {id,blockID}]);- options.blockElement.setAttribute(Constants.CUSTOM_SY_AV_VIEW, id)+ options.blockElement.setAttribute(Constants.CUSTOM_SY_AV_VIEW, id);avPanelElement.remove();event.preventDefault();event.stopPropagation();diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.tsindex 094e0f2ee8..17a9be2137 100644--- a/app/src/protyle/render/av/row.ts+++ b/app/src/protyle/render/av/row.ts@@ -169,7 +169,7 @@ const updatePageSize = (options: {return;}options.nodeElement.setAttribute("data-page-size", options.newPageSize);- const blockID = options.nodeElement.getAttribute("data-node-id")+ const blockID = options.nodeElement.getAttribute("data-node-id");transaction(options.protyle, [{action: "setAttrViewPageSize",avID: options.avID,diff --git a/app/src/protyle/render/av/view.ts b/app/src/protyle/render/av/view.tsindex e18cdb7be4..190bfdb3ac 100644--- a/app/src/protyle/render/av/view.ts+++ b/app/src/protyle/render/av/view.ts@@ -57,7 +57,7 @@ export const openViewMenu = (options: { protyle: IProtyle, blockElement: HTMLEleid,blockID: options.blockElement.dataset.nodeId}]);- options.blockElement.setAttribute(Constants.CUSTOM_SY_AV_VIEW, id)+ options.blockElement.setAttribute(Constants.CUSTOM_SY_AV_VIEW, id);}});menu.addItem({