AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.
HTML ai-agentcloudflarecloudflare-d1cloudflare-r2cloudflare-workersdockerelectronevernoteevernote-alternativeknowledge-basemcpnote-takingobsidian-alternativeoffline-firstpersonal-knowledge-basepwaself-hostedsqlitetiptapweb-clipper
test: align native note action menu contracts
tianma-if8db4ef4203bb
diff --git a/tests/mobile-ai-assistant.test.ts b/tests/mobile-ai-assistant.test.tsindex ed4a60c2..d1fbd8ea 100644--- a/tests/mobile-ai-assistant.test.ts+++ b/tests/mobile-ai-assistant.test.ts@@ -64,7 +64,8 @@ describe("native mobile AI note assistant", () => {});test("keeps the assistant reachable from each native note action menu", () => {- expect(androidDetailSource).toContain('label="AI 笔记助手"');+ expect(androidDetailSource).toContain('label={resolvedLocale === "en-US" ? "AI note assistant" : "AI 笔记助手"}');+ expect(androidDetailSource).toContain("setAiAssistantOpen(true)");expect(androidDetailSource).toContain("<MobileAiAssistantModal");expect(iosDetailSource).toContain('env.preferences.t("AI 笔记助手", en: "AI note assistant")');expect(iosDetailSource).toContain("AiAssistantSheet(memo: memo)");diff --git a/tests/note-id-copy.test.ts b/tests/note-id-copy.test.tsindex fc520497..7b49560a 100644--- a/tests/note-id-copy.test.ts+++ b/tests/note-id-copy.test.ts@@ -24,7 +24,8 @@ describe("copy current note ID", () => {test("copies the raw memo ID from both native mobile clients", () => {expect(androidDetailSource).toContain("Clipboard.setStringAsync(memo.id)");- expect(androidDetailSource).toContain('label={canCopyMemoId ? "复制笔记 ID"');+ expect(androidDetailSource).toContain('resolvedLocale === "en-US" ? "Copy note ID" : "复制笔记 ID"');+ expect(androidDetailSource).toContain("disabled={!canCopyMemoId}");expect(iosDetailSource).toContain("UIPasteboard.general.string = memo.id");expect(iosDetailSource).toContain('env.preferences.t("复制笔记 ID", en: "Copy note ID")');});