Skip to content

Commit 9927a3e

Browse files
authored
chore: reword some workspace actions stuff (#9061)
1 parent 46e1896 commit 9927a3e

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

site/src/i18n/en/templateSettingsPage.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"failureTTLHelperText_zero": "Coder will not automatically stop failed workspaces",
2323
"failureTTLHelperText_one": "Coder will attempt to stop failed workspaces after {{count}} day.",
2424
"failureTTLHelperText_other": "Coder will attempt to stop failed workspaces after {{count}} days.",
25-
"inactivityTTLHelperText_zero": "Coder will not automatically lock inactive workspaces",
26-
"inactivityTTLHelperText_one": "Coder will automatically lock inactive workspaces after {{count}} day.",
27-
"inactivityTTLHelperText_other": "Coder will automatically lock inactive workspaces after {{count}} days.",
28-
"lockedTTLHelperText_zero": "Coder will not automatically delete locked workspaces",
29-
"lockedTTLHelperText_one": "Coder will automatically delete locked workspaces after {{count}} day.",
30-
"lockedTTLHelperText_other": "Coder will automatically delete locked workspaces after {{count}} days.",
25+
"inactivityTTLHelperText_zero": "Coder will not mark workspaces as inactive",
26+
"inactivityTTLHelperText_one": "Coder will will mark workspaces as inactive after {{count}} day without user connections.",
27+
"inactivityTTLHelperText_other": "Coder will will mark workspaces as inactive after {{count}} days without user connections",
28+
"lockedTTLHelperText_zero": "Coder will not automatically delete inactive workspaces",
29+
"lockedTTLHelperText_one": "Coder will automatically delete inactive workspaces after {{count}} day.",
30+
"lockedTTLHelperText_other": "Coder will automatically delete inactive workspaces after {{count}} days.",
3131
"allowUserCancelWorkspaceJobsLabel": "Allow users to cancel in-progress workspace jobs.",
3232
"allowUserCancelWorkspaceJobsNotice": "Depending on your template, canceling builds may leave workspaces in an unhealthy state. This option isn't recommended for most use cases.",
3333
"allowUsersCancelHelperText": "If checked, users may be able to corrupt their workspace.",

site/src/pages/TemplateSettingsPage/TemplateSchedulePage/TemplateScheduleForm/TemplateScheduleForm.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,8 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
359359
</FormFields>
360360
</FormSection>
361361
<FormSection
362-
title="Inactivity Soft Deletion"
363-
description="When enabled, Coder will soft-delete workspaces that have not been accessed after a specified number of days. A soft-deleted workspace cannot be interacted with until it is recovered by the user."
362+
title="Inactivity Threshold"
363+
description="When enabled, Coder will mark workspaces as inactive after a period of time with no connections. Inactive workspaces can be auto-deleted (see below) or manually reviewed by the workspace owner or admins."
364364
>
365365
<FormFields>
366366
<FormControlLabel
@@ -371,7 +371,7 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
371371
onChange={handleToggleInactivityCleanup}
372372
/>
373373
}
374-
label="Enable Inactivity Soft Deletion"
374+
label="Enable Inactivity Threshold"
375375
/>
376376
<TextField
377377
{...getFieldHelpers(
@@ -392,8 +392,8 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
392392
</FormFields>
393393
</FormSection>
394394
<FormSection
395-
title="Deletion Retention"
396-
description="When enabled, Coder will permanently delete workspaces that have been soft-deleted for a specified number of days. Once a workspace is permanently deleted it cannot be recovered."
395+
title="Inactivity Deletion"
396+
description="When enabled, Coder will permanently delete workspaces that have been marked as inactive. Once a workspace is permanently deleted it cannot be recovered."
397397
>
398398
<FormFields>
399399
<FormControlLabel
@@ -404,7 +404,7 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
404404
onChange={handleToggleLockedCleanup}
405405
/>
406406
}
407-
label="Enable Deletion Retention"
407+
label="Enable Inactivity Deletion"
408408
/>
409409
<TextField
410410
{...getFieldHelpers(

0 commit comments

Comments
 (0)