Label: complexity: high
Points: 200
Description
There is no central place to see all recent invoice activity. This issue adds a notification bell icon in the header that opens a dropdown showing all recent events (payments received, invoices funded, invoices released) stored in localStorage, with unread count badge and mark-all-read functionality.
Technical Context
Involves a new src/components/NotificationCenter.tsx added to layout.tsx. Notifications are written to localStorage by the polling mechanism (Issue 1) when invoice state changes are detected. Each notification has id, type, invoiceId, message, timestamp, and read fields.
Acceptance Criteria
Label: complexity: high
Points: 200
Description
There is no central place to see all recent invoice activity. This issue adds a notification bell icon in the header that opens a dropdown showing all recent events (payments received, invoices funded, invoices released) stored in
localStorage, with unread count badge and mark-all-read functionality.Technical Context
Involves a new
src/components/NotificationCenter.tsxadded tolayout.tsx. Notifications are written tolocalStorageby the polling mechanism (Issue 1) when invoice state changes are detected. Each notification hasid,type,invoiceId,message,timestamp, andreadfields.Acceptance Criteria