Jeff Emmett
|
e7e921665d
|
Add Y.js real-time collaboration to rNotes editor
- Add yjs, y-websocket, @tiptap/extension-collaboration,
@tiptap/extension-collaboration-caret dependencies
- Create collab-provider.ts: WebsocketProvider wrapper
- Create CollabStatus.tsx: connection/sync state indicator
- NoteEditor.tsx: add collaborative mode with Y.js document,
awareness cursors, and auto-disable built-in history
- docker-compose.yml: add y-websocket sidecar (rnotes-yws)
at collab-ws.rnotes.online, add NEXT_PUBLIC_COLLAB_WS_URL
Enable by passing collaborative={true} noteId="..." user={...}
to NoteEditor. Non-collaborative mode unchanged.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-31 19:22:18 -07:00 |