Skip to content

feat: add WebSocket real-time updates for batch tracking#193

Merged
Nitya-003 merged 2 commits intoNitya-003:mainfrom
navin-oss:feature/websocket-realtime
Mar 8, 2026
Merged

feat: add WebSocket real-time updates for batch tracking#193
Nitya-003 merged 2 commits intoNitya-003:mainfrom
navin-oss:feature/websocket-realtime

Conversation

@navin-oss
Copy link
Contributor

  • Integrate Socket.IO in backend with singleton service pattern
  • Create blockchainListener to emit batch-updated events via WebSocket
  • Add socket.io-client in frontend with typed TypeScript service
  • Implement useBatchSocket React hook for real-time updates
  • Update TrackBatch page with live connection indicator and auto-refresh
  • Add LIVE badge to Home page showing WebSocket connection status
  • Enable automatic batch room joining for targeted updates
  • Support graceful shutdown with proper Socket.IO cleanup

- Integrate Socket.IO in backend with singleton service pattern
- Create blockchainListener to emit batch-updated events via WebSocket
- Add socket.io-client in frontend with typed TypeScript service
- Implement useBatchSocket React hook for real-time updates
- Update TrackBatch page with live connection indicator and auto-refresh
- Add LIVE badge to Home page showing WebSocket connection status
- Enable automatic batch room joining for targeted updates
- Support graceful shutdown with proper Socket.IO cleanup
@netlify
Copy link

netlify bot commented Mar 8, 2026

Deploy Preview for roaring-ganache-c7465f failed. Why did it fail? →

Name Link
🔨 Latest commit 186e47b
🔍 Latest deploy log https://app.netlify.com/projects/roaring-ganache-c7465f/deploys/69ad6f6f6aca0600081c01b8

Copy link
Owner

@Nitya-003 Nitya-003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@navin-oss Approved.

@Nitya-003 Nitya-003 merged commit b5a87d5 into Nitya-003:main Mar 8, 2026
0 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants