Skip to content

Commit dcd79d0

Browse files
committed
Adds unresolved icon
1 parent b8a9e21 commit dcd79d0

File tree

1 file changed

+13
-2
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.errors.$fingerprint

1 file changed

+13
-2
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.errors.$fingerprint/route.tsx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
import { type LoaderFunctionArgs, type ActionFunctionArgs, json } from "@remix-run/server-runtime";
22
import { type MetaFunction, Form, useNavigation, useSubmit } from "@remix-run/react";
33
import { BellAlertIcon, CheckIcon } from "@heroicons/react/20/solid";
4-
import { IconAlarmSnooze as IconAlarmSnoozeBase, IconBugOff as IconBugOffBase } from "@tabler/icons-react";
4+
import {
5+
IconAlarmSnooze as IconAlarmSnoozeBase,
6+
IconArrowBackUp as IconArrowBackUpBase,
7+
IconBugOff as IconBugOffBase,
8+
} from "@tabler/icons-react";
59

610
const AlarmSnoozeIcon = ({ className }: { className?: string }) => (
711
<IconAlarmSnoozeBase className={className} size={18} />
812
);
13+
const ArrowBackUpIcon = ({ className }: { className?: string }) => (
14+
<IconArrowBackUpBase className={className} size={18} />
15+
);
916
const BugOffIcon = ({ className }: { className?: string }) => (
1017
<IconBugOffBase className={className} size={18} />
1118
);
@@ -546,7 +553,7 @@ function ErrorDetailSidebar({
546553
<div className="flex flex-col gap-4">
547554
<Property.Table>
548555
{/* Status */}
549-
<Property.Item>
556+
<Property.Item className="gap-1">
550557
<Property.Label>Error status</Property.Label>
551558
<Property.Value>
552559
<div className="flex items-center justify-between">
@@ -807,13 +814,17 @@ function ErrorStatusDropdown({
807814

808815
{state.status === "RESOLVED" && (
809816
<PopoverMenuItem
817+
icon={ArrowBackUpIcon}
818+
leadingIconClassName="text-error"
810819
title="Unresolved"
811820
onClick={() => act({ taskIdentifier, action: "unresolve" })}
812821
/>
813822
)}
814823

815824
{state.status === "IGNORED" && (
816825
<PopoverMenuItem
826+
icon={ArrowBackUpIcon}
827+
leadingIconClassName="text-error"
817828
title="Unresolved"
818829
onClick={() => act({ taskIdentifier, action: "unresolve" })}
819830
/>

0 commit comments

Comments
 (0)