From 76ec56a5f437c9b7729bca5e37e9cb8b0f2a0609 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Fri, 5 Dec 2025 22:55:21 -0800 Subject: [PATCH] Update task task-027 --- ...-proper-Automerge-CRDT-sync-for-offline-first-support.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backlog/tasks/task-027 - Implement-proper-Automerge-CRDT-sync-for-offline-first-support.md b/backlog/tasks/task-027 - Implement-proper-Automerge-CRDT-sync-for-offline-first-support.md index bcd3238..87ee13f 100644 --- a/backlog/tasks/task-027 - Implement-proper-Automerge-CRDT-sync-for-offline-first-support.md +++ b/backlog/tasks/task-027 - Implement-proper-Automerge-CRDT-sync-for-offline-first-support.md @@ -4,7 +4,7 @@ title: Implement proper Automerge CRDT sync for offline-first support status: In Progress assignee: [] created_date: '2025-12-04 21:06' -updated_date: '2025-12-05 22:05' +updated_date: '2025-12-06 06:55' labels: - offline-sync - crdt @@ -83,4 +83,8 @@ Added safety mitigations for Automerge format conversion (commit f8092d8 on feat **Also fixed:** - Keyboard shortcuts dialog error (tldraw i18n objects) - Google Workspace integration now first in Settings > Integrations + +Fixed persistence issue: Modified handlePeerDisconnect to flush pending saves and updated client-side merge strategy in useAutomergeSyncRepo.ts to properly bootstrap from server when local is empty while preserving offline changes + +Fixed TypeScript errors in networking module: corrected useSession->useAuth import, added myConnections to NetworkGraph type, fixed GraphEdge type alignment between client and worker