Skip to content

chore: add alpha badges to workspace cleanup fields #9802

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 3 commits into from
Sep 22, 2023
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
lint
  • Loading branch information
sreya committed Sep 20, 2023
commit a424db1a739189c9c296756f2f802bddc17154e0
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import {
calculateAutostopRequirementDaysValue,
convertAutostopRequirementDaysValue,
} from "./AutostopRequirementHelperText";
import { AlphaBadge } from "components/DeploySettingsLayout/Badges";

const MS_HOUR_CONVERSION = 3600000;
const MS_DAY_CONVERSION = 86400000;
Expand Down Expand Up @@ -465,7 +464,7 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
<FormSection
title="Failure Cleanup"
description="When enabled, Coder will attempt to stop workspaces that are in a failed state after a specified number of days."
alpha={true}
alpha
>
<FormFields>
<FormControlLabel
Expand Down Expand Up @@ -494,7 +493,7 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
<FormSection
title="Dormancy Threshold"
description="When enabled, Coder will mark workspaces as dormant after a period of time with no connections. Dormant workspaces can be auto-deleted (see below) or manually reviewed by the workspace owner or admins."
alpha={true}
alpha
>
<FormFields>
<FormControlLabel
Expand Down Expand Up @@ -527,7 +526,7 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
<FormSection
title="Dormancy Auto-Deletion"
description="When enabled, Coder will permanently delete dormant workspaces after a period of time. Once a workspace is deleted it cannot be recovered."
alpha={true}
alpha
>
<FormFields>
<FormControlLabel
Expand Down