Skip to content

feat: add toast notifications for transaction lifecycle#452

Open
devSoniia wants to merge 1 commit into
PrincessnJoy:mainfrom
devSoniia:feat/277-toast-notifications
Open

feat: add toast notifications for transaction lifecycle#452
devSoniia wants to merge 1 commit into
PrincessnJoy:mainfrom
devSoniia:feat/277-toast-notifications

Conversation

@devSoniia

Copy link
Copy Markdown
Contributor

Resolves #277

  • Add Toast component with pending/success/error variants (auto-dismiss: success=4s, error=6s, pending=manual)
  • useToast hook manages toast list and timers
  • Dismissible via × button; aria-live region for screen reader support
  • Wallet connect/disconnect emit pending → success/error toasts
  • ProposalDetail accepts onToast prop; vote buttons show pending → result toast

…#277)

- Add Toast component with pending/success/error variants
- useToast hook: auto-dismiss (success=4s, error=6s, pending=manual)
- Dismissible via × button; aria-live region for screen readers
- Wallet connect/disconnect show pending → success/error toasts
- ProposalDetail accepts onToast prop; voting shows pending → result toast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add toast notifications for transaction lifecycle

1 participant