Add connection status indicator with SSE heartbeat #10

Merged
ryan merged 1 commits from feat/sse-heartbeat into main 2026-03-03 20:15:30 +00:00
Owner

Summary

  • Add ConnectionIndicator component - small dot in top-right corner
  • Green dot when connected (ping received within 20 seconds)
  • Red dot when connection is stale/lost
  • Server sends lastPing signal every 15 seconds
  • Initial ping sent on SSE connection establishment

This gives users visual confidence that their live connection is active.

## Summary - Add `ConnectionIndicator` component - small dot in top-right corner - Green dot when connected (ping received within 20 seconds) - Red dot when connection is stale/lost - Server sends `lastPing` signal every 15 seconds - Initial ping sent on SSE connection establishment This gives users visual confidence that their live connection is active.
ryan added 1 commit 2026-03-03 19:53:27 +00:00
feat: add connection status indicator with SSE heartbeat
All checks were successful
CI / Deploy / test (pull_request) Successful in 17s
CI / Deploy / lint (pull_request) Successful in 25s
CI / Deploy / deploy (pull_request) Has been skipped
729db559ea
- Add ConnectionIndicator component showing green/red dot
- Send lastPing signal every 15 seconds via SSE
- Indicator turns red if no ping received in 20 seconds
- Gives users confidence the live connection is active
ryan force-pushed feat/sse-heartbeat from 729db559ea to 6d078f3adb 2026-03-03 19:54:41 +00:00 Compare
ryan force-pushed feat/sse-heartbeat from 6d078f3adb to db2d7d0252 2026-03-03 19:58:22 +00:00 Compare
ryan force-pushed feat/sse-heartbeat from db2d7d0252 to 90a3d9e5a5 2026-03-03 20:01:43 +00:00 Compare
ryan force-pushed feat/sse-heartbeat from 90a3d9e5a5 to 45e6e08a5c 2026-03-03 20:02:58 +00:00 Compare
ryan force-pushed feat/sse-heartbeat from 45e6e08a5c to da82f31d46 2026-03-03 20:05:05 +00:00 Compare
ryan merged commit 99f14ca170 into main 2026-03-03 20:15:30 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ryan/games#10