Skip to content

Commit 4b044f7

Browse files
committed
Improvments to the ignored status
1 parent c59f016 commit 4b044f7

File tree

1 file changed

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

1 file changed

+12
-7
lines changed

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
IconAlarmSnooze as IconAlarmSnoozeBase,
66
IconArrowBackUp as IconArrowBackUpBase,
77
IconBugOff as IconBugOffBase,
8+
IconCircleDotted,
89
} from "@tabler/icons-react";
910

1011
const AlarmSnoozeIcon = ({ className }: { className?: string }) => (
@@ -687,7 +688,7 @@ function IgnoredDetails({
687688
>
688689
<div className="flex flex-col gap-2">
689690
<div className="flex items-center gap-1">
690-
<IconAlarmSnoozeBase className="size-5 text-text-bright" />
691+
<IconAlarmSnoozeBase className="size-5 text-blue-500" />
691692
<Header3 className="text-text-bright">
692693
{ignoredForever ? "Ignored permanently" : "Ignored with conditions"}
693694
</Header3>
@@ -765,7 +766,8 @@ function ErrorStatusDropdown({
765766
return (
766767
<>
767768
<Popover open={popoverOpen} onOpenChange={setPopoverOpen}>
768-
<PopoverArrowTrigger variant="tertiary" disabled={isSubmitting}>
769+
<PopoverArrowTrigger variant="primary" disabled={isSubmitting} className="items-center">
770+
<IconCircleDotted className="-ml-1 mr-1 size-3.5 text-text-bright" />
769771
Mark error as…
770772
</PopoverArrowTrigger>
771773
<PopoverContent className="inline-flex !min-w-0 flex-col p-1" align="end">
@@ -779,7 +781,7 @@ function ErrorStatusDropdown({
779781
/>
780782
<PopoverMenuItem
781783
icon={AlarmSnoozeIcon}
782-
leadingIconClassName="text-text-bright"
784+
leadingIconClassName="text-blue-500"
783785
title="Ignored for 1 hour"
784786
onClick={() =>
785787
act({
@@ -791,7 +793,7 @@ function ErrorStatusDropdown({
791793
/>
792794
<PopoverMenuItem
793795
icon={AlarmSnoozeIcon}
794-
leadingIconClassName="text-text-bright"
796+
leadingIconClassName="text-blue-500"
795797
title="Ignored for 24 hours"
796798
onClick={() =>
797799
act({
@@ -803,13 +805,13 @@ function ErrorStatusDropdown({
803805
/>
804806
<PopoverMenuItem
805807
icon={BugOffIcon}
806-
leadingIconClassName="text-text-bright"
808+
leadingIconClassName="text-blue-500"
807809
title="Ignored forever"
808810
onClick={() => act({ taskIdentifier, action: "ignore" })}
809811
/>
810812
<PopoverMenuItem
811813
icon={AlarmSnoozeIcon}
812-
leadingIconClassName="text-text-bright"
814+
leadingIconClassName="text-blue-500"
813815
title="Ignored with custom condition…"
814816
onClick={() => {
815817
setPopoverOpen(false);
@@ -850,7 +852,10 @@ function ErrorStatusDropdown({
850852
<Dialog open={customIgnoreOpen} onOpenChange={setCustomIgnoreOpen}>
851853
<DialogContent className="sm:max-w-md">
852854
<DialogHeader>
853-
<DialogTitle>Custom ignore condition</DialogTitle>
855+
<DialogTitle className="flex items-center gap-1.5">
856+
<IconAlarmSnoozeBase className="-ml-1.5 size-6 text-blue-500" />
857+
Custom ignore condition
858+
</DialogTitle>
854859
</DialogHeader>
855860
<CustomIgnoreForm
856861
taskIdentifier={taskIdentifier}

0 commit comments

Comments
 (0)