Skip to content

Replace browser alerts with toast notifications for task validation#731

Open
gamya222 wants to merge 1 commit into
Charushi06:mainfrom
gamya222:fix-task-toast
Open

Replace browser alerts with toast notifications for task validation#731
gamya222 wants to merge 1 commit into
Charushi06:mainfrom
gamya222:fix-task-toast

Conversation

@gamya222
Copy link
Copy Markdown

Related Issue

Closes #658

Summary

Replaced blocking browser alert popups in the task creation flow with non-blocking toast notifications for a better user experience and consistency with the existing UI.

Changes Made

  • Replaced browser alert for empty task name validation
  • Replaced browser alert for missing deadline validation
  • Replaced browser alert for missing subject validation
  • Used the existing Toast.show() component for UI consistency
  • Kept unrelated alert handling (calendar export failure) unchanged

Testing

Tested locally by running the project and verifying:

  • Empty task name shows toast notification
  • Missing deadline shows toast notification
  • Missing subject shows toast notification
  • No browser alert popup appears for task validation

Screenshots

Added local verification screenshot showing toast notification working.

Checklist

  • Code follows project style
  • Tested locally
  • No unrelated changes included
  • Documentation updated (not applicable)
Screenshot 2026-05-25 004746

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.

bug: [UI/UX] Replace Browser Alert with Custom On‑Screen Toast/Modal for Task Addition

1 participant