[P2] Confirmation dialog for destructive route commands #118

Closed
opened 2026-04-02 18:49:12 +02:00 by claude · 1 comment
Owner

Parent Epic

#100

Problem

Stop and suspend route commands execute immediately without confirmation. These are destructive operations that affect production traffic.

Proposed Solution

  • Add a confirmation modal before dispatching stop and suspend commands
  • Modal shows: route ID, application name, number of affected agents
  • "Cancel" and "Confirm" buttons
  • Start and resume do not require confirmation (they restore normal operation)

Acceptance Criteria

  • Stopping a route shows confirmation dialog before dispatch
  • Suspending a route shows confirmation dialog before dispatch
  • Dialog shows route name, app name, and agent count
  • Start and resume commands execute without confirmation
  • Cancelling the dialog does not dispatch the command
## Parent Epic #100 ## Problem Stop and suspend route commands execute immediately without confirmation. These are destructive operations that affect production traffic. ## Proposed Solution - Add a confirmation modal before dispatching stop and suspend commands - Modal shows: route ID, application name, number of affected agents - "Cancel" and "Confirm" buttons - Start and resume do not require confirmation (they restore normal operation) ## Acceptance Criteria - [ ] Stopping a route shows confirmation dialog before dispatch - [ ] Suspending a route shows confirmation dialog before dispatch - [ ] Dialog shows route name, app name, and agent count - [ ] Start and resume commands execute without confirmation - [ ] Cancelling the dialog does not dispatch the command
Author
Owner

Implemented in f39f07e. Stop and suspend commands now show a ConfirmDialog with typed confirmation ("stop"/"suspend") before dispatch. Start and resume execute immediately. Uses the DS ConfirmDialog with variant: 'danger' for stop and variant: 'warning' for suspend.

Implemented in `f39f07e`. Stop and suspend commands now show a `ConfirmDialog` with typed confirmation ("stop"/"suspend") before dispatch. Start and resume execute immediately. Uses the DS `ConfirmDialog` with `variant: 'danger'` for stop and `variant: 'warning'` for suspend.
Sign in to join this conversation.