diff --git a/apps/webapp/app/components/BulkActionFilterSummary.tsx b/apps/webapp/app/components/BulkActionFilterSummary.tsx index b00d77d438..51f9149e4d 100644 --- a/apps/webapp/app/components/BulkActionFilterSummary.tsx +++ b/apps/webapp/app/components/BulkActionFilterSummary.tsx @@ -11,6 +11,7 @@ import { appliedSummary, dateFromString, timeFilterRenderValues } from "./runs/v import { formatNumber } from "~/utils/numberFormatter"; import { SpinnerWhite } from "./primitives/Spinner"; import { ArrowPathIcon, CheckIcon, XCircleIcon } from "@heroicons/react/20/solid"; +import { XCircleIcon as XCircleIconOutline } from "@heroicons/react/24/outline"; import assertNever from "assert-never"; import { AppliedFilter } from "./primitives/AppliedFilter"; import { runStatusTitle } from "./runs/v3/TaskRunStatus"; @@ -244,7 +245,7 @@ function Action({ action }: { action: BulkActionAction }) { case "cancel": return ( - + Canceled ); diff --git a/apps/webapp/app/components/primitives/RadioButton.tsx b/apps/webapp/app/components/primitives/RadioButton.tsx index 6ea04f3b56..87fb7a59f1 100644 --- a/apps/webapp/app/components/primitives/RadioButton.tsx +++ b/apps/webapp/app/components/primitives/RadioButton.tsx @@ -39,7 +39,7 @@ const variants = { description: { button: "w-full p-2.5 hover:data-[state=checked]:bg-white/[4%] data-[state=checked]:bg-white/[4%] transition data-[disabled]:opacity-70 hover:border-charcoal-600 border-charcoal-650 hover:data-[state=checked]:border-charcoal-600 border rounded-md", - label: "text-text-bright font-semibold -mt-1 text-left text-sm", + label: "text-text-bright font-semibold -mt-0.5 text-left text-sm", description: "text-text-dimmed -mt-0 text-left", inputPosition: "mt-0", icon: "w-8 h-8 mb-2", diff --git a/apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.bulkaction.tsx b/apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.bulkaction.tsx index 5877f2972a..26386795e0 100644 --- a/apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.bulkaction.tsx +++ b/apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.bulkaction.tsx @@ -340,25 +340,25 @@ export function CreateBulkActionInspector({ }} > - Replay runs + Cancel runs } - description="Replays all selected runs, regardless of current status." - value={"replay"} + description="Cancels all runs still in progress. Any finished runs won’t be canceled." + value={"cancel"} variant="description" /> - Cancel runs + Replay runs } - description="Cancels all runs still in progress. Any finished runs won’t be canceled." - value={"cancel"} + description="Replays all selected runs, regardless of current status." + value={"replay"} variant="description" /> @@ -466,8 +466,8 @@ function bulkActionModeFromString(value: string | undefined): BulkActionMode { } function bulkActionActionFromString(value: string | undefined): BulkActionAction { - if (!value) return "replay"; + if (!value) return "cancel"; const parsed = BulkActionAction.safeParse(value); - if (!parsed.success) return "replay"; + if (!parsed.success) return "cancel"; return parsed.data; }