canvas-website/src
Jeff Emmett 6507adc36d Implement offline storage with IndexedDB for canvas documents
- Add @automerge/automerge-repo-storage-indexeddb for local persistence
- Create documentIdMapping utility to track roomId → documentId in IndexedDB
- Update useAutomergeSyncRepo with offline-first loading strategy:
  - Load from IndexedDB first for instant access
  - Sync with server in background when online
  - Track connection status (online/offline/syncing)
- Add OfflineIndicator component to show connection state
- Integrate offline indicator into Board component

Documents are now cached locally and available offline. Automerge CRDT
handles conflict resolution when syncing back online.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 03:03:37 -08:00
..
automerge Implement offline storage with IndexedDB for canvas documents 2025-11-26 03:03:37 -08:00
collections implemented collections and graph layout tool 2025-07-29 14:52:57 -04:00
components Implement offline storage with IndexedDB for canvas documents 2025-11-26 03:03:37 -08:00
config automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
constants final update fix old data conversion 2025-11-10 15:38:53 -08:00
context everything working in dev 2025-11-10 11:06:13 -08:00
css final updates to Automerge conversion 2025-11-10 13:34:55 -08:00
graph automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
hooks update to fix vercel and cloudflare errors 2025-11-10 11:30:33 -08:00
lib final updates to Automerge conversion 2025-11-10 13:34:55 -08:00
propagators update tldraw functions for update 2025-09-04 16:58:15 +02:00
public update package.json, remove cloudflare worker deployment 2025-11-10 12:46:49 -08:00
routes Implement offline storage with IndexedDB for canvas documents 2025-11-26 03:03:37 -08:00
shapes update more typescript errors for vercel 2025-11-10 11:22:32 -08:00
slides slidedeck shape installed, still minor difficulty in keyboard arrow transition between slides (last slide + wraparound) 2025-01-23 14:14:04 +01:00
tools update typescript errors for vercel 2025-11-10 11:19:24 -08:00
types automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
ui prevent coordinate reset 2025-11-10 23:01:35 -08:00
utils update to fix vercel and cloudflare errors 2025-11-10 11:30:33 -08:00
App.tsx everything working in dev 2025-11-10 11:06:13 -08:00
CmdK.tsx add in gestures and ctrl+space command tool (TBD add global LLM) 2025-07-29 16:02:51 -04:00
GestureTool.ts everything working in dev 2025-11-10 11:06:13 -08:00
default_gestures.ts automerge, obsidian/quartz, transcribe attempt, fix AI APIs 2025-09-21 11:43:06 +02:00
gestures.ts add in gestures and ctrl+space command tool (TBD add global LLM) 2025-07-29 16:02:51 -04:00
prompt.ts everything working in dev 2025-11-10 11:06:13 -08:00
snapshot.json everything working in dev 2025-11-10 11:06:13 -08:00
ui.tsx everything working in dev 2025-11-10 11:06:13 -08:00
vite-env.d.ts Revert "Update Daily API key in production env" 2025-04-16 13:05:55 -07:00