rspace-online/backlog/tasks/task-118.5 - Add-local-firs...

1.2 KiB

id title status assignee created_date updated_date labels milestone dependencies parent_task_id priority
TASK-118.5 Add local-first-client to rschedule Done
2026-03-16 00:06 2026-03-16 00:50
multiplayer
tier-2
Multiplayer Everything
TASK-118 medium

Description

rschedule already has Automerge schemas but lacks a local-first-client.ts for client-side sync. Add the client and wire it into the 3 components (automation-canvas, reminders-widget, schedule-app).

New file:

  • modules/rschedule/local-first-client.ts — wraps existing schemas with sync methods

Component updates:

  • All 3 components init the client, subscribe, and react to remote changes
  • Scheduled jobs, reminders, and automations sync in real-time between space members

Acceptance Criteria

  • #1 local-first-client.ts created following established pattern
  • #2 All 3 components sync via Automerge
  • #3 Reminders and scheduled jobs visible to all space members in real-time

Implementation Notes

schemas.ts + local-first-client.ts created