[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-03-09 08:28:35 +00:00
committed by GitHub
parent 4330d7bd99
commit d8c7c1eaf4
@@ -1,7 +1,8 @@
import {
ChevronDown,
ChevronUp,
Clock, Copy,
Clock,
Copy,
Loader2,
RefreshCcw,
RocketIcon,
@@ -229,7 +230,9 @@ export const ShowDeployments = ({
className="p-2 rounded-md ml-1 mr-1 hover:border-primary hover:text-primary-foreground hover:bg-primary hover:cursor-pointer"
variant="outline"
onClick={() => {
copy(`${url}/api/deploy${type === "compose" ? "/compose" : ""}/${refreshToken}`);
copy(
`${url}/api/deploy${type === "compose" ? "/compose" : ""}/${refreshToken}`,
);
toast.success("Copied to clipboard.");
}}
>
@@ -277,8 +280,7 @@ export const ShowDeployments = ({
className="flex flex-col gap-4 rounded-lg border p-4 sm:flex-row sm:items-center sm:justify-between"
>
<div className="flex flex-1 flex-col min-w-0">
<span
className="flex items-center gap-4 font-medium capitalize text-foreground">
<span className="flex items-center gap-4 font-medium capitalize text-foreground">
{index + 1}. {deployment.status}
<StatusTooltip
status={deployment?.status}
@@ -287,8 +289,7 @@ export const ShowDeployments = ({
</span>
<div className="flex flex-col gap-1">
<span
className="break-words text-sm text-muted-foreground whitespace-pre-wrap">
<span className="break-words text-sm text-muted-foreground whitespace-pre-wrap">
{isExpanded || !needsTruncation
? titleText
: truncateDescription(titleText)}
@@ -333,10 +334,8 @@ export const ShowDeployments = ({
)}
</div>
</div>
<div
className="flex w-full flex-col items-start gap-2 sm:w-auto sm:max-w-[300px] sm:items-end sm:justify-start">
<div
className="text-sm capitalize text-muted-foreground flex flex-wrap items-center gap-2">
<div className="flex w-full flex-col items-start gap-2 sm:w-auto sm:max-w-[300px] sm:items-end sm:justify-start">
<div className="text-sm capitalize text-muted-foreground flex flex-wrap items-center gap-2">
<DateTooltip date={deployment.createdAt} />
{deployment.startedAt && deployment.finishedAt && (
<Badge
@@ -355,8 +354,7 @@ export const ShowDeployments = ({
)}
</div>
<div
className="flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center sm:justify-end">
<div className="flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center sm:justify-end">
{deployment.pid && deployment.status === "running" && (
<DialogAction
title="Kill Process"
@@ -459,8 +457,7 @@ export const ShowDeployments = ({
isLoading={isRollingBack}
className="w-full sm:w-auto"
>
<RefreshCcw
className="size-4 text-primary group-hover:text-red-500"/>
<RefreshCcw className="size-4 text-primary group-hover:text-red-500" />
Rollback
</Button>
</DialogAction>