Skip to content

feat: implement standard toast notification system (#191)#223

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
Francis6-git:feat/standardize-notifications-191
Apr 27, 2026
Merged

feat: implement standard toast notification system (#191)#223
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
Francis6-git:feat/standardize-notifications-191

Conversation

@Francis6-git
Copy link
Copy Markdown
Contributor

This PR improves how we show feedback to users through notifications with a single system using react-hot-toast.

Changes Made

  • New Hook (src/hooks/use-notification.ts): Created a wrapper hook to provide a consistent API for success, error, and loading states. It handles message formatting (including Error objects and arrays) to ensure the UI never breaks.
  • FormWizardController: Integrated toast feedback for step validation failures and final submission success/error states.
  • DynamicFormBuilder: Added notifications for configuration parsing errors, auto-save failures, and form submission lifecycle.
  • AutoSaveManager: Standardized internal saving status to trigger global toasts on critical failures.

Closes #191

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 27, 2026

@Francis6-git Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER RUKAYAT-CODER merged commit 9826d5f into rinafcode:main Apr 27, 2026
3 of 6 checks passed
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.

Missing Toast Notifications

2 participants