Skip to content

Commit 2a8df5a

Browse files
cehuneben-z
andauthored
Updated deletion email with clarity edits (#30)
By our current workflow, we will be deleting user files manually after the deletion emails are sent. Therefore, for clarity, @ben-z recommended to change the wording to follow this logic. --------- Co-authored-by: Ben Zhang <5977478+ben-z@users.noreply.github.com>
1 parent 6db9003 commit 2a8df5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

emails/file-deletion.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type EmailProps = z.infer<typeof EmailProps>;
1818
const Email = (props: EmailProps) => {
1919
const { name, paths, daysForExpiry } = EmailProps.parse(props);
2020

21-
const previewText = `Some of your files in the WATcloud compute cluster have been deleted.`;
21+
const previewText = `Some of your files in the WATcloud compute cluster have expired.`;
2222

2323
const deletedPaths = (
2424
<div>
@@ -34,11 +34,11 @@ const Email = (props: EmailProps) => {
3434
<WATcloudEmail previewText={previewText}>
3535
<Text>Hi {name},</Text>
3636
<Text>
37-
In an ongoing effort to keep WATcloud's file storage efficient and maintain optimal performance, we routinely clean up specific directories that haven't been accessed in the past {daysForExpiry} days. We previously sent an email that you had files which met this criteria. Since they were not accessed by the given deadline, those files have been deleted.
37+
In an ongoing effort to keep WATcloud's file storage efficient and maintain optimal performance, we routinely clean up specific directories that haven't been accessed in the past {daysForExpiry} days. We previously sent an email that you had files which met this criteria. Since they were not accessed since then, those files are scheduled for deletion.
3838
</Text>
3939
<Hr />
4040
<Section>
41-
<Text>The following paths were deleted:</Text>
41+
<Text>The following paths will be deleted:</Text>
4242
{deletedPaths}
4343
</Section>
4444
<Hr />

0 commit comments

Comments
 (0)