feat: add centralised toast notifiacation system for complete application#1859
feat: add centralised toast notifiacation system for complete application#1859aaryan498 wants to merge 5 commits into
Conversation
…ed the compoenent wise toast system, and passes showToast prop to all frontend Routes for usage.
|
@aryandas2911
Thanks and Regards |
|
Tell me if you want me to fix the ci errors also. |
yes |
|
@aryandas2911 Still one CI error is there in frontend, and that error is not related to my changes. I have not implemented that feature or that part. This is the error in Profile.jsx, but i haven't touched that startAutoHide function in any way. And that does not relate to my changes in any manner. What i recommend is, bypass the ci Errors and merge my PR, and then I will open separate issue to fix that part separately. Now tell me what should I do? Please reply soon! |
Summary
Implements a centralized toast notification system to provide a consistent user experience across the application and eliminate duplicated notification logic.
Changes Made
CustomToastcomponent for displaying application-wide notifications.App.jsx.showToast(message, type)function and passed it to pages requiring notifications.alert()dialogs with non-blocking toast notifications where applicable.Benefits
Screenshots (Proof of Work)
Testing
Closes: #1858