memos/server
Cursor Agent bab7a53d7a feat: extend live refresh to sync reactions across instances
Add SSE event broadcasting for reaction changes so that when a user
adds or removes a reaction on one device, all other open instances
see the update in real-time.

Backend:
- Rename MemoEvent/MemoEventType to SSEEvent/SSEEventType for generality
- Add reaction.upserted and reaction.deleted event types
- Broadcast events from UpsertMemoReaction and DeleteMemoReaction,
  using the reaction's ContentID (memo name) as the event name

Frontend:
- Handle reaction.upserted and reaction.deleted SSE events by
  invalidating the affected memo detail cache and memo lists
- Rename internal handler to handleSSEEvent to reflect broader scope

Co-authored-by: milvasic <milvasic@users.noreply.github.com>
2026-02-06 21:41:44 +00:00
..
auth refactor: migrate HOST roles to ADMIN 2026-01-20 23:38:30 +08:00
router feat: extend live refresh to sync reactions across instances 2026-02-06 21:41:44 +00:00
runner refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
server.go feat: add live memo refresh via Server-Sent Events (SSE) 2026-02-06 21:18:21 +00:00