Skip to content

[FRONTEND] Replace Scans page alert() failures with accessible toast or modal feedback #469

@utksh1

Description

@utksh1

Problem

The Scans page still uses alert() for delete and clear-history failure paths. This is inconsistent with the app toast/modal patterns and is harder to test/accessibly style.

Expected behavior

Failure feedback should use the existing ToastContext or an accessible in-app error state instead of browser alerts.

Acceptance criteria

  • Replace alert() calls in Scans destructive-action failure paths.
  • Keep the existing console logging for diagnostics if useful.
  • Add or update tests for one delete failure and one clear/bulk failure path.

Metadata

Metadata

Assignees

Labels

area:frontendFrontend React/UI worklevel:intermediate35 pts difficulty label for moderate contributor PRspriority:mediumImportant issue with normal urgencytype:accessibilityAccessibility work category bonus labeltype:bugBug fix work category bonus label

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions