Skip to content

feat: real-time notifications with SSE and bell dropdown#123

Open
victorjzq wants to merge 1 commit intosorosave-protocol:mainfrom
victorjzq:fix/issue-51
Open

feat: real-time notifications with SSE and bell dropdown#123
victorjzq wants to merge 1 commit intosorosave-protocol:mainfrom
victorjzq:fix/issue-51

Conversation

@victorjzq
Copy link

/claim #51

Added SSE-based real-time notifications so users get live updates without polling the page. The NotificationProvider connects to /api/notifications/stream when a wallet is connected, listens for contribution, payout, and dispute events, and surfaces them through a bell icon in the Navbar with an unread badge. Kept the SSE API route on the edge runtime so it scales without holding server threads. The stream sends a 25-second keep-alive ping to survive proxy timeouts.

Fixes #51

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 real-time notifications with WebSocket or SSE

1 participant