From 3fa74b09f4f2c86889e3089ecc99c85f0e4ec567 Mon Sep 17 00:00:00 2001 From: Abhineet Jain Date: Wed, 1 Jun 2022 14:59:57 +0000 Subject: [PATCH 1/3] feat: update ttl language in frontend --- .../WorkspaceScheduleForm/WorkspaceScheduleForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx b/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx index b883c4ed07b91..627bb6992a290 100644 --- a/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx +++ b/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx @@ -40,8 +40,8 @@ export const Language = { startTimeLabel: "Start time", startTimeHelperText: "Your workspace will automatically start at this time.", timezoneLabel: "Timezone", - ttlLabel: "TTL (hours)", - ttlHelperText: "Your workspace will automatically shutdown after the TTL.", + ttlLabel: "Time until shutdown (hours)", + ttlHelperText: "Your workspace will automatically shutdown after this much time.", } export interface WorkspaceScheduleFormProps { From 0b870eec91d186603910c71b9f22d6608491324e Mon Sep 17 00:00:00 2001 From: Abhineet Jain Date: Wed, 1 Jun 2022 12:42:23 -0400 Subject: [PATCH 2/3] Update TTL Helper text Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com> --- .../components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx b/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx index 627bb6992a290..39a6f1f8f18c6 100644 --- a/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx +++ b/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx @@ -41,7 +41,7 @@ export const Language = { startTimeHelperText: "Your workspace will automatically start at this time.", timezoneLabel: "Timezone", ttlLabel: "Time until shutdown (hours)", - ttlHelperText: "Your workspace will automatically shutdown after this much time.", + ttlHelperText: "Your workspace will automatically shut down after this much time.", } export interface WorkspaceScheduleFormProps { From 9d744ff7db9d49c2451af021cf9926e5ab208d87 Mon Sep 17 00:00:00 2001 From: Abhineet Jain Date: Wed, 1 Jun 2022 15:23:01 -0400 Subject: [PATCH 3/3] update TTL helper string --- .../components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx b/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx index 39a6f1f8f18c6..9ccc3263bf3e5 100644 --- a/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx +++ b/site/src/components/WorkspaceScheduleForm/WorkspaceScheduleForm.tsx @@ -41,7 +41,7 @@ export const Language = { startTimeHelperText: "Your workspace will automatically start at this time.", timezoneLabel: "Timezone", ttlLabel: "Time until shutdown (hours)", - ttlHelperText: "Your workspace will automatically shut down after this much time.", + ttlHelperText: "Your workspace will automatically shut down after this amount of time has elapsed.", } export interface WorkspaceScheduleFormProps {