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/16548
Vanessa1b7992e34b0d
diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.tsindex 6a01fcd4db..c9b74c1041 100644--- a/app/src/mobile/util/touch.ts+++ b/app/src/mobile/util/touch.ts@@ -5,6 +5,7 @@ import {activeBlur} from "./keyboardToolbar";import {isIPhone} from "../../protyle/util/compatibility";import {App} from "../../index";import {globalTouchEnd, globalTouchStart} from "../../boot/globalEvent/touch";+import {Constants} from "../../constants";let clientX: number;let clientY: number;@@ -42,7 +43,7 @@ export const handleTouchEnd = (event: TouchEvent, app: App) => {setTimeout(() => {editElement.focus();window.JSAndroid?.showKeyboard();- }, 100);+ }, Constants.TIMEOUT_TRANSITION);} else {editElement.focus();window.JSAndroid?.showKeyboard();diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.tsindex b38f661624..0f3ccd1118 100644--- a/app/src/protyle/render/av/action.ts+++ b/app/src/protyle/render/av/action.ts@@ -327,11 +327,20 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEleif (viewsElement) {viewsElement.classList.add("av__views--show");}- setTimeout(() => {+ /// #if MOBILE+ if (searchElement.getAttribute("virtualkeyboardpolicy") !== "manual") {+ searchElement.setAttribute("virtualkeyboardpolicy", "manual");+ setTimeout(() => {+ searchElement.focus();+ window.JSAndroid?.showKeyboard();+ }, Constants.TIMEOUT_TRANSITION);+ } else {searchElement.focus();- // TODOwindow.JSAndroid?.showKeyboard();- }, Constants.TIMEOUT_TRANSITION);+ }+ /// #else+ searchElement.focus();+ /// #endifevent.preventDefault();event.stopPropagation();return true;