From 44df90d8dd4f853f38aea1d1617ab85e092436e2 Mon Sep 17 00:00:00 2001 From: Karthick R Date: Wed, 9 Mar 2022 11:32:13 -0800 Subject: [PATCH 1/3] make stopjob message clearer --- ui/app/templates/components/job-page/parts/title.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/templates/components/job-page/parts/title.hbs b/ui/app/templates/components/job-page/parts/title.hbs index 068c0731f42b..58dabc508bf5 100644 --- a/ui/app/templates/components/job-page/parts/title.hbs +++ b/ui/app/templates/components/job-page/parts/title.hbs @@ -18,9 +18,9 @@ From 0784750b094066fae4ababe62c13f0aa1cb090e6 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Thu, 24 Mar 2022 16:03:04 -0400 Subject: [PATCH 2/3] ui: apply descriptive action to all two-step buttons --- ui/app/templates/allocations/allocation/index.hbs | 12 ++++++------ .../templates/allocations/allocation/task/index.hbs | 4 ++-- ui/app/templates/clients/client/index.hbs | 2 +- .../components/job-page/parts/latest-deployment.hbs | 2 +- ui/app/templates/components/job-page/parts/title.hbs | 6 +++--- ui/app/templates/components/job-version.hbs | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ui/app/templates/allocations/allocation/index.hbs b/ui/app/templates/allocations/allocation/index.hbs index 0069a9fba85a..e463ad9eba62 100644 --- a/ui/app/templates/allocations/allocation/index.hbs +++ b/ui/app/templates/allocations/allocation/index.hbs @@ -42,9 +42,9 @@ @@ -28,9 +28,9 @@ diff --git a/ui/app/templates/components/job-version.hbs b/ui/app/templates/components/job-version.hbs index a7076d75f905..74d4308b90be 100644 --- a/ui/app/templates/components/job-version.hbs +++ b/ui/app/templates/components/job-version.hbs @@ -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}} From 9445a92c19620ce11d9fd84c7402471bce7b3195 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Thu, 24 Mar 2022 16:05:46 -0400 Subject: [PATCH 3/3] changelog: add entry for #12252 --- .changelog/12252.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .changelog/12252.txt diff --git a/.changelog/12252.txt b/.changelog/12252.txt new file mode 100644 index 000000000000..408f0fca6a0c --- /dev/null +++ b/.changelog/12252.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: make buttons with confirmation more descriptive of their actions +```