Skip to content

Wire NotificationDropdown to live stream events #341

@ogazboiz

Description

@ogazboiz

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

  • Unread count badge updates in real-time
  • All 5 event types produce notifications
  • Mark-as-read clears badge

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programfrontendFrontend related tasksgood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions