Skip to content

fix : replaced alert call with toast notification in Tasks page duration validation - #1952

Open
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:#1947
Open

fix : replaced alert call with toast notification in Tasks page duration validation#1952
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:#1947

Conversation

@tmdeveloper007

Copy link
Copy Markdown

Summary of What Has Been Done

Replaced the blocking alert() call in frontend/src/pages/Tasks.jsx with the existing showToast notification system that was already present in the file.

Changes Made

  • frontend/src/pages/Tasks.jsx: replaced alert("Please enter a valid duration in minutes") with showToast("Please enter a valid duration in minutes", "error")

Impact it Made

  • Removes blocking alert() dialog from the task duration submission flow
  • Uses the existing toast notification system for consistent, non-intrusive error feedback

Closes #1947.

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 : remove alert call from Tasks page duration validation

1 participant