Skip to content

Commit ace188b

Browse files
Kira-Pilotmatifali
andauthored
fix: clarify language in orphan section of delete modal (#10764)
* fix: clarify language in orphan section of delete modal * tinted title * Update site/src/pages/WorkspacePage/WorkspaceDeleteDialog/WorkspaceDeleteDialog.tsx Co-authored-by: Muhammad Atif Ali <atif@coder.com> * prettier --------- Co-authored-by: Muhammad Atif Ali <atif@coder.com>
1 parent 5229d7f commit ace188b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

site/src/pages/WorkspacePage/WorkspaceDeleteDialog/WorkspaceDeleteDialog.tsx

+6-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const styles = {
3636
color: theme.palette.text.primary,
3737
},
3838
}),
39-
orphanContainer: () => ({
39+
orphanContainer: (theme) => ({
4040
marginTop: 24,
4141
display: "flex",
4242
backgroundColor: colors.orange[15],
@@ -57,6 +57,7 @@ const styles = {
5757
"& .info": {
5858
fontSize: 14,
5959
fontWeight: 600,
60+
color: theme.experimental.roles.danger.text,
6061
},
6162
}),
6263
} satisfies Record<string, Interpolation<Theme>>;
@@ -166,10 +167,11 @@ export const WorkspaceDeleteDialog = (props: WorkspaceDeleteDialogProps) => {
166167
/>
167168
</div>
168169
<div css={{ flexDirection: "column" }}>
169-
<p className="info">Orphan resources</p>
170+
<p className="info">Orphan Resources</p>
170171
<span css={{ fontSize: 12, marginTop: 4, display: "block" }}>
171-
Skip resource cleanup. Resources such as volumes and virtual
172-
machines will not be destroyed.&nbsp;
172+
As a Template Admin, you may skip resource cleanup to force
173+
remove a failed workspace. Resources such as volumes and
174+
virtual machines will not be destroyed.&nbsp;
173175
<Link
174176
href={docs("/workspaces#workspace-resources")}
175177
target="_blank"

0 commit comments

Comments
 (0)