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
fix(mobile): restore Android list motion
tianma-if12ce051c154d
diff --git a/AGENTS.md b/AGENTS.mdindex 9c8c0616..0a19c921 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -5,6 +5,7 @@## 文档与分支约束- **技术栈与背景**:优先参考 `README.md`。+- **移动端平台边界**:Android 客户端位于 `apps/mobile`,使用 Expo / React Native 实现;iOS 客户端位于 `apps/ios`,使用 Swift / SwiftUI 原生实现。- **双语同步**:修改中文文档时必须同步更新对应的英文文档。- **分支规范**:严禁创建新分支,所有修改与提交必须直接在 `main` 分支上完成。diff --git a/apps/mobile/src/screens/WorkspaceNotesView.tsx b/apps/mobile/src/screens/WorkspaceNotesView.tsxindex 715ba84a..21617966 100644--- a/apps/mobile/src/screens/WorkspaceNotesView.tsx+++ b/apps/mobile/src/screens/WorkspaceNotesView.tsx@@ -3,7 +3,7 @@ import type { MemoFilterMode } from "@edgeever/client";import { DEFAULT_MEMO_TITLE, type MemoSummary, type Notebook } from "@edgeever/shared";import { MOBILE_UI_METRICS, toggleMobileMemoFilterMode } from "@edgeever/shared/mobile-ui";import { ActivityIndicator, FlatList, Platform, RefreshControl, View } from "react-native";-import Animated, { useAnimatedStyle, useSharedValue, withTiming } from "react-native-reanimated";+import Animated, { FadeInDown, FadeOutUp, LinearTransition, useAnimatedStyle, useSharedValue, withTiming } from "react-native-reanimated";import { Check, ChevronDown, ChevronLeft, LayoutTemplate, MoreHorizontal, Plus, RotateCcw, Search, Sparkles, Tag, X } from "../components/icons";import { Pressable, Text, TextInput } from "../components/LocalizedText";import type { MobileBootstrapProgress } from "../lib/local-mirror";@@ -424,11 +424,11 @@ const MemoCard = memo(function MemoCard({transform: [{ scale: pressScale.value }],}));- // Avoid Reanimated layout/entering transitions on list cards: concurrent- // Fabric text measurement on iPad (compatibility mode / wide width) crashed- // App Review builds with SIGSEGV inside RCTTextLayoutManager.return (<Animated.View+ entering={FadeInDown.duration(260).springify().damping(18)}+ exiting={FadeOutUp.duration(220)}+ layout={LinearTransition.duration(220)}style={[styles.memoCard,listDensity === "compact" && styles.memoCardCompact,diff --git a/tests/mobile-app-scope.test.ts b/tests/mobile-app-scope.test.tsindex a635c4b8..731a4072 100644--- a/tests/mobile-app-scope.test.ts+++ b/tests/mobile-app-scope.test.ts@@ -71,12 +71,12 @@ describe("mobile app scope", () => {expect(memoDetailSource).not.toContain("react-native-markdown-display");});- test("keeps memo list free of Reanimated layout transitions that crash Fabric text layout", () => {- expect(notesViewSource).not.toContain("FadeInDown");- expect(notesViewSource).not.toContain("FadeOutUp");- expect(notesViewSource).not.toContain("LinearTransition");- expect(notesViewSource).not.toContain("entering=");- expect(notesViewSource).not.toContain("layout={LinearTransition");+ test("keeps Android memo list motion and spring feedback", () => {+ expect(notesViewSource).toContain("FadeInDown.duration(260).springify().damping(18)");+ expect(notesViewSource).toContain("FadeOutUp.duration(220)");+ expect(notesViewSource).toContain("LinearTransition.duration(220)");+ expect(notesViewSource).toContain("pressScale.value = withTiming(0.985");+ expect(notesViewSource).toContain("pressScale.value = withTiming(1");});test("hardens DOM/WebView hosts against media capture probes during App Review", () => {