Skip to content

Add 2-hour countdown warning before auto-scan with amber styling #28

@techmore

Description

@techmore

When an auto-scan is scheduled to run, display a prominent 2-hour countdown warning on the frontend using bright amber colors (similar to the 'Private' styling in network topology). This gives users advance notice before automated scans begin.

Current state:

  • Auto-scans run silently in the background
  • No frontend warning before scan execution
  • Users may be unaware of impending automated activity

Desired functionality:

  • Show countdown banner 2 hours before auto-scan starts
  • Use amber color scheme (text-amber-500/600) for visibility
  • Display remaining time prominently
  • Include scan details (target, type, etc.)
  • Allow users to cancel or modify if needed
  • Auto-hide when countdown reaches zero

Implementation details:

  • Integrate with existing auto-scan scheduling logic in
  • Add Socket.IO events for countdown updates
  • Create warning banner in with amber styling
  • Update every minute to show remaining time
  • Position prominently but non-intrusively

Location: Modify auto-scan logic in and add frontend banner in .

This will improve user awareness and control over automated scanning activities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions