make stop job message clearer (#12252)
This commit is contained in:
parent
e7382a6b45
commit
122115c0ba
|
@ -0,0 +1,3 @@
|
|||
```release-note:improvement
|
||||
ui: make buttons with confirmation more descriptive of their actions
|
||||
```
|
|
@ -42,9 +42,9 @@
|
|||
<TwoStepButton
|
||||
data-test-stop
|
||||
@alignRight={{true}}
|
||||
@idleText="Stop"
|
||||
@cancelText="Cancel"
|
||||
@confirmText="Yes, Stop"
|
||||
@idleText="Stop Alloc"
|
||||
@cancelText="Cancel Stop"
|
||||
@confirmText="Yes, Stop Alloc"
|
||||
@confirmationMessage="Are you sure? This will reschedule the allocation on a different client."
|
||||
@awaitingConfirmation={{this.stopAllocation.isRunning}}
|
||||
@disabled={{or
|
||||
|
@ -56,9 +56,9 @@
|
|||
<TwoStepButton
|
||||
data-test-restart
|
||||
@alignRight={{true}}
|
||||
@idleText="Restart"
|
||||
@cancelText="Cancel"
|
||||
@confirmText="Yes, Restart"
|
||||
@idleText="Restart Alloc"
|
||||
@cancelText="Cancel Restart"
|
||||
@confirmText="Yes, Restart Alloc"
|
||||
@confirmationMessage="Are you sure? This will restart the allocation in-place."
|
||||
@awaitingConfirmation={{this.restartAllocation.isRunning}}
|
||||
@disabled={{or
|
||||
|
|
|
@ -53,9 +53,9 @@
|
|||
<TwoStepButton
|
||||
data-test-restart
|
||||
@alignRight={{true}}
|
||||
@idleText="Restart"
|
||||
@idleText="Restart Task"
|
||||
@cancelText="Cancel"
|
||||
@confirmText="Yes, Restart"
|
||||
@confirmText="Yes, Restart Task"
|
||||
@confirmationMessage="Are you sure? This will restart the task in-place."
|
||||
@awaitingConfirmation={{this.restartTask.isRunning}}
|
||||
@disabled={{this.restartTask.isRunning}}
|
||||
|
|
|
@ -197,7 +197,7 @@
|
|||
data-test-drain-stop
|
||||
@idleText="Stop Drain"
|
||||
@cancelText="Cancel"
|
||||
@confirmText="Yes, Stop"
|
||||
@confirmText="Yes, Stop Drain"
|
||||
@confirmationMessage="Are you sure you want to stop this drain?"
|
||||
@awaitingConfirmation={{this.stopDrain.isRunning}}
|
||||
@onConfirm={{perform this.stopDrain}}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
confirmButton="is-danger"}}
|
||||
@idleText="Fail Deployment"
|
||||
@cancelText="Cancel"
|
||||
@confirmText="Yes, Fail"
|
||||
@confirmText="Yes, Fail Deployment"
|
||||
@confirmationMessage="Are you sure?"
|
||||
@inlineText={{true}}
|
||||
@awaitingConfirmation={{this.fail.isRunning}}
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
<TwoStepButton
|
||||
data-test-stop
|
||||
@alignRight={{true}}
|
||||
@idleText="Stop"
|
||||
@idleText="Stop Job"
|
||||
@cancelText="Cancel"
|
||||
@confirmText="Yes, Stop"
|
||||
@confirmText="Yes, Stop Job"
|
||||
@confirmationMessage="Are you sure you want to stop this job?"
|
||||
@awaitingConfirmation={{this.stopJob.isRunning}}
|
||||
@onConfirm={{perform this.stopJob}} />
|
||||
|
@ -28,9 +28,9 @@
|
|||
<TwoStepButton
|
||||
data-test-start
|
||||
@alignRight={{true}}
|
||||
@idleText="Start"
|
||||
@idleText="Start Job"
|
||||
@cancelText="Cancel"
|
||||
@confirmText="Yes, Start"
|
||||
@confirmText="Yes, Start Job"
|
||||
@confirmationMessage="Are you sure you want to start this job?"
|
||||
@awaitingConfirmation={{this.startJob.isRunning}}
|
||||
@onConfirm={{perform this.startJob}} />
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
idleButton="is-warning is-outlined"
|
||||
confirmButton="is-warning"}}
|
||||
@alignRight={{true}}
|
||||
@idleText="Revert"
|
||||
@idleText="Revert Version"
|
||||
@cancelText="Cancel"
|
||||
@confirmText="Yes, Revert"
|
||||
@confirmText="Yes, Revert Version"
|
||||
@confirmationMessage="Are you sure you want to revert to this version?"
|
||||
@inlineText={{true}}
|
||||
@fadingBackground={{true}}
|
||||
|
|
Loading…
Reference in New Issue