What: Create a notification bell component that shows unread notification count and opens a notification panel.
Why: Users need to see notifications (reward claims, credential mints, system announcements). Currently there's no notification system in the UI.
Scope: Create src/components/shared/notification-bell.tsx with: bell icon, unread count badge, notification panel dropdown. Fetch notifications from API. Mark as read on click.
Acceptance criteria:
- Bell shows unread count
- Panel opens on click
- Notifications are listed with timestamps
- Clicking marks as read
- Panel closes on outside click
Technical context: src/components/layout/header.tsx — header. src/components/shared/ — shared components.
What: Create a notification bell component that shows unread notification count and opens a notification panel.
Why: Users need to see notifications (reward claims, credential mints, system announcements). Currently there's no notification system in the UI.
Scope: Create
src/components/shared/notification-bell.tsxwith: bell icon, unread count badge, notification panel dropdown. Fetch notifications from API. Mark as read on click.Acceptance criteria:
Technical context:
src/components/layout/header.tsx— header.src/components/shared/— shared components.