Desk Real Time and WebSocket - osama1998H/Moca GitHub Wiki

Desk Real-Time & WebSocket

Status: This feature is planned for MS-19 (Desk Real-Time, Custom Field Types, Version Tracking). Documentation will be expanded when the milestone is complete.

Overview

Real-time updates allow multiple users to see document changes live via WebSocket connections, with collaborative editing indicators and version tracking.

Planned Scope

  • WebSocket hub in moca-server with Redis pub/sub bridge
  • Client-side WebSocketProvider and useRealtimeDoc() hook
  • Document presence indicators (who is viewing/editing)
  • Live field updates pushed to all subscribers
  • Document version tracking and conflict resolution
  • Custom field type registry for app-defined field components

Related