Skip to content

Poll activity feed while WebSocket is disconnected - #153

Merged
Justice989810 merged 1 commit into
Justice989810:mainfrom
valentinachristopher911-design:fix/issue-83-feed-polling-fallback
Sep 29, 2026
Merged

Justice989810 merged 1 commit into
Justice989810:mainfrom
valentinachristopher911-design:fix/issue-83-feed-polling-fallback

Conversation

@valentinachristopher911-design

Copy link
Copy Markdown

Summary

  • Poll /api/feed every five seconds while the WebSocket is not open.
  • Prevent overlapping requests, check HTTP status/response shape, and merge through the existing deduplication helper.
  • Stop polls while paused and clear/abort work on unmount.

Verification

  • npm run build passes.
  • npx eslint src/components/LiveActivityFeed.tsx reports the pre-existing explicit any types.

Fixes #83

@Justice989810
Justice989810 merged commit 4a34f43 into Justice989810:main Sep 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement the polling fallback advertised when WebSockets disconnect

2 participants