Join our community: https://t.me/+DOylgFv1jyJlNzM0
Description
frontend/components/NotificationDropdown.tsx exists but is not connected to real data. Users should see a live notification bell with stream events.
What Needs to Happen
- Use
useStreamEvents to receive live SSE events for the user's streams
- Show unread count badge on the bell icon
- Notification messages per event:
stream.withdrawn: "You received X USDC from stream #N"
stream.cancelled: "Stream #N was cancelled — refund incoming"
stream.topped_up: "Stream #N was topped up by X USDC"
stream.paused / stream.resumed: "Stream #N was paused/resumed"
- Mark all as read on dropdown open
- Max 20 shown; link to activity page for full history
Files
frontend/components/NotificationDropdown.tsx
Acceptance Criteria
Description
frontend/components/NotificationDropdown.tsxexists but is not connected to real data. Users should see a live notification bell with stream events.What Needs to Happen
useStreamEventsto receive live SSE events for the user's streamsstream.withdrawn: "You received X USDC from stream #N"stream.cancelled: "Stream #N was cancelled — refund incoming"stream.topped_up: "Stream #N was topped up by X USDC"stream.paused/stream.resumed: "Stream #N was paused/resumed"Files
frontend/components/NotificationDropdown.tsxAcceptance Criteria