Skip to content

Add individual kill button for hopper tasksΒ #280

Description

@warmonger0

Description

Add a kill/cancel button for each individual task in the hopper queue panel. Users should be able to cancel specific queued tasks without having to clear the entire hopper.

Requirements

  1. Add a kill/cancel button (❌ or πŸ—‘οΈ icon) next to each hopper task
  2. When clicked, remove that specific task from the phase_queue
  3. Update the UI immediately to reflect the removal
  4. Show confirmation toast/notification
  5. Ensure proper error handling if deletion fails

Implementation Details

  • Frontend: Add button to each hopper task row in QueuePanel
  • Backend: Ensure DELETE /api/v1/queue/{queue_id} endpoint exists
  • Database: Remove record from phase_queue table
  • WebSocket: Broadcast update to all connected clients

UI/UX

  • Button should be small and unobtrusive (icon only)
  • Show confirmation dialog for safety (optional, but recommended)
  • Disable button during deletion to prevent double-clicks
  • Show success/error feedback

Priority

Medium - Quality of life improvement for hopper management

adw_sdlc_complete_iso

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions