Update copy for scripts status tooltip (#16089)

- Add period after parentheses. First word in the "time-ago" timestamp
is always lowercase.
This commit is contained in:
Noah Talerman 2024-01-15 09:24:09 -05:00 committed by GitHub
parent c37f5cfe20
commit 4739f6d9e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ const STATUS_DISPLAY_CONFIG: Record<
displayText: "Ran",
iconStatus: "success",
tooltip: (executedAt) =>
`Script ran and exited with exit code 0. (${executedAt} ago)`,
`Script ran and exited with exit code 0 (${executedAt} ago).`,
},
pending: {
displayText: "Pending",
@ -37,7 +37,7 @@ const STATUS_DISPLAY_CONFIG: Record<
displayText: "Error",
iconStatus: "error",
tooltip: (executedAt) =>
`Script ran and exited with a non-zero exit code. (${executedAt} ago)`,
`Script ran and exited with a non-zero exit code (${executedAt} ago).`,
},
};