- Labels:
feature, ux, notifications
Description
We need a custom, premium toast notification system that alerts users in real-time when a session state changes (e.g., "Expert joined call", "Payment refunded", "Escrow funded").
Technical Scope & Steps
- Create a lightweight
ToastProvider and a useToast hook inside src/providers/ and src/hooks/.
- Implement toast templates for
success, info, warning, and error states, styled with smooth CSS transitions.
- Automatically clear toast notifications after a 5-second timeout.
- Allow manual dismissal by clicking a close (
X) icon.
Acceptance Criteria
- Toast notifications stack cleanly on the bottom-right or top-right of the screen.
- Transitions feel fluid and premium (fade-in, slide-out).
- Clicking dismiss removes the toast immediately without affecting remaining active toasts.
feature,ux,notificationsDescription
We need a custom, premium toast notification system that alerts users in real-time when a session state changes (e.g., "Expert joined call", "Payment refunded", "Escrow funded").
Technical Scope & Steps
ToastProviderand auseToasthook insidesrc/providers/andsrc/hooks/.success,info,warning, anderrorstates, styled with smooth CSS transitions.X) icon.Acceptance Criteria