Skip to content

fix: improve checkbox text in template schedule settings dialog #13669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: fix format
  • Loading branch information
jaaydenh committed Jun 27, 2024
commit 4df993cc701f8ebdde7a592b587341d2e59fd44c
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,15 @@ export const ScheduleDialog: FC<ScheduleDialogProps> = ({
<p css={styles.dialogDescription}>
This change will result in{" "}
<strong>{inactiveWorkspacesToGoDormant}</strong>{" "}
{inactiveWorkspacesToGoDormant === 1 ? "workspace" : "workspaces"}{" "}
{inactiveWorkspacesToGoDormant === 1
? "workspace"
: "workspaces"}{" "}
being immediately transitioned to the dormant state and{" "}
<strong>{inactiveWorkspacesToGoDormantInWeek}</strong>{" "}
{inactiveWorkspacesToGoDormantInWeek === 1 ? "workspace" : "workspaces"} over the
next 7 days. To prevent this, do you want to reset the
{inactiveWorkspacesToGoDormantInWeek === 1
? "workspace"
: "workspaces"}{" "}
over the next 7 days. To prevent this, do you want to reset the
inactivity period for all template workspaces?
</p>
<FormControlLabel
Expand All @@ -97,12 +101,16 @@ export const ScheduleDialog: FC<ScheduleDialogProps> = ({
<p css={styles.dialogDescription}>
This change will result in{" "}
<strong>{dormantWorkspacesToBeDeleted}</strong>{" "}
{dormantWorkspacesToBeDeleted === 1 ? "workspace" : "workspaces"}{" "}
{dormantWorkspacesToBeDeleted === 1
? "workspace"
: "workspaces"}{" "}
being immediately deleted and{" "}
<strong>{dormantWorkspacesToBeDeletedInWeek}</strong>{" "}
{dormantWorkspacesToBeDeletedInWeek === 1 ? "workspace" : "workspaces"} over the
next 7 days. To prevent this, do you want to reset the dormancy
period for all template workspaces?
{dormantWorkspacesToBeDeletedInWeek === 1
? "workspace"
: "workspaces"}{" "}
over the next 7 days. To prevent this, do you want to reset the
dormancy period for all template workspaces?
</p>
<FormControlLabel
css={{ marginTop: 16 }}
Expand Down
Loading