Update wording for worker maintenance guidance on Flamenco Manager Console #104227

Closed
MichaelC wants to merge 11 commits from michael-2/flamenco:vue_worker_maintenance_wording into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit c6877e07d4 - Show all commits

View File

@ -115,11 +115,20 @@
<section class="worker-maintenance"> <section class="worker-maintenance">
<h3 class="sub-title">Maintenance</h3> <h3 class="sub-title">Maintenance</h3>
<p>{{ workerData.name }} is in <span class="worker-status">{{ workerData.status }}</span> state, which means <p>

I agree with @fsiddi that {name} is awake is nicer than {name} is in awake state. For the error state your improvement is certainly welcome.

I agree with @fsiddi that `{name} is awake` is nicer than `{name} is in awake state`. For the `error` state your improvement is certainly welcome.
<template v-if="workerData.status == 'offline'">the Worker can be safely removed.</template> {{ workerData.name }} is

Given that the subject of the sentence is already the worker, I think it's clear enough to replace the worker with it.

Given that the subject of the sentence is already the worker, I think it's clear enough to replace `the worker` with `it`.
<template v-else>removing it in this state can cause the Worker to log errors. It <template v-if="workerData.status == 'offline'">
is advised to shut down the Worker before removing it from the <span class="worker-status">offline</span>, which means it can be safely removed.
system.</template> </template>
<template v-else>
<template v-if="workerData.status == 'error'">
in <span class="worker-status">error</span>
</template>
<template v-else>
<span class="worker-status">{{ workerData.status }}</span>
</template> state, which means removing it now can cause it to log errors. It
is advised to shut down the Worker before removing it from the system.
</template>
</p> </p>
<p><button @click="deleteWorker">Remove {{ workerData.name }}</button></p> <p><button @click="deleteWorker">Remove {{ workerData.name }}</button></p>
<p class="hint"> <p class="hint">