Skip to content

Emit real-time Socket.IO DIGEST-SYN events when summaries are created or updated #236

Description

@allenporter

Background

Supernote's real-time sync channel (digest channel with DIGEST-SYN message type) notifies connected clients (tablet, Partner App) of new or updated digests (ADD_DIGEST, UPDATE_DIGEST, DELETE_DIGEST).

Current Behavior

When the background SummaryModule finishes processing and updates summary_service, no Socket.IO notification is broadcast to connected user sessions. Clients only discover new summaries on manual sync or app restart.

Proposed Improvement

  • In SummaryService (or SummaryModule), emit DIGEST-SYN events via SocketIOServerManager when summaries and groups are added, updated, or deleted.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions