Skip to content

fix : added replaced alert calls with toast notifications in RoutineOverviewModal - #1991

Open
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:fix/1986-routineoverviewmodal-toast
Open

fix : added replaced alert calls with toast notifications in RoutineOverviewModal#1991
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:fix/1986-routineoverviewmodal-toast

Conversation

@tmdeveloper007

Copy link
Copy Markdown

Summary of What Has Been Done

Replaced 3 browser alert() calls in RoutineOverviewModal.jsx with toast notifications. Added toastIsError state to show red dot for error toasts.

Changes Made

  • Added toastIsError state variable
  • Updated triggerToast to accept isError parameter
  • Updated toast UI to show red dot for errors
  • Replaced all 3 alert calls with triggerToast(..., true)

Impact it Made

Consistent non-blocking error UX in the routine overview modal.

Closes #1986

Note: Please assign this PR to the tmdeveloper007 account.

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.

fix : replace alert calls with toast notifications in RoutineOverviewModal

1 participant