feat(FN-3551): add persistent approval notification banner
- Add ApprovalNotificationBanner component and integrate it in App task flow - Define approval trigger contract and persist banner dismissal state across refreshes - Deduplicate approval notifications so repeated approvals do not re-show dismissed alerts - Add App/banner tests and update dashboard docs for approval banner behavior Fusion-Task-Id: FN-3551
This commit is contained in:
@@ -18,7 +18,7 @@ Fusion intentionally uses multiple realtime mechanisms. Keep their ownership bou
|
||||
- Endpoint: `GET /api/events`
|
||||
- Browser owner: `packages/dashboard/app/sse-bus.ts`
|
||||
- Main task consumer: `packages/dashboard/app/hooks/useTasks.ts`
|
||||
- Additional consumers: `packages/dashboard/app/App.tsx` (mailbox unread updates)
|
||||
- Additional consumers: `packages/dashboard/app/App.tsx` (mailbox unread updates + approval banner trigger handling for new `awaiting-approval` transitions)
|
||||
|
||||
Contract: **one `EventSource` per URL**, fan-out via `subscribeSse(...)`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user