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.
Background
Supernote's real-time sync channel (
digestchannel withDIGEST-SYNmessage type) notifies connected clients (tablet, Partner App) of new or updated digests (ADD_DIGEST,UPDATE_DIGEST,DELETE_DIGEST).Current Behavior
When the background
SummaryModulefinishes processing and updatessummary_service, no Socket.IO notification is broadcast to connected user sessions. Clients only discover new summaries on manual sync or app restart.Proposed Improvement
SummaryService(orSummaryModule), emitDIGEST-SYNevents viaSocketIOServerManagerwhen summaries and groups are added, updated, or deleted.