Skip to content

Commit dec21bd

Browse files
authored
fix: use IssueOpenedIcon for linked issues (#2194)
1 parent 8744c3c commit dec21bd

File tree

3 files changed

+54
-54
lines changed

3 files changed

+54
-54
lines changed

src/renderer/components/metrics/MetricGroup.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { type FC, useContext } from 'react';
22

33
import {
44
CommentIcon,
5-
IssueClosedIcon,
5+
IssueOpenedIcon,
66
MilestoneIcon,
77
TagIcon,
88
} from '@primer/octicons-react';
@@ -40,8 +40,8 @@ export const MetricGroup: FC<IMetricGroup> = ({
4040
<Box className="flex gap-1">
4141
{notification.subject?.linkedIssues?.length > 0 && (
4242
<MetricPill
43-
color={IconColor.GREEN}
44-
icon={IssueClosedIcon}
43+
color={IconColor.GRAY}
44+
icon={IssueOpenedIcon}
4545
metric={notification.subject.linkedIssues.length}
4646
title={linkedIssuesPillDescription}
4747
/>

src/renderer/components/metrics/__snapshots__/MetricGroup.test.tsx.snap

Lines changed: 48 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/renderer/components/settings/NotificationSettings.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
CheckIcon,
66
CommentIcon,
77
GitPullRequestIcon,
8-
IssueClosedIcon,
8+
IssueOpenedIcon,
99
MilestoneIcon,
1010
TagIcon,
1111
} from '@primer/octicons-react';
@@ -105,7 +105,7 @@ export const NotificationSettings: FC = () => {
105105
<Box className="pl-4">
106106
<Stack direction="vertical" gap="none">
107107
<Stack direction="horizontal" gap="condensed">
108-
<IssueClosedIcon size={Size.SMALL} />
108+
<IssueOpenedIcon size={Size.SMALL} />
109109
linked issues
110110
</Stack>
111111
<Stack direction="horizontal" gap="condensed">
@@ -150,7 +150,7 @@ export const NotificationSettings: FC = () => {
150150
</li>
151151
<li>
152152
<Stack direction="horizontal" gap="condensed">
153-
<IssueClosedIcon size={Size.SMALL} />
153+
<IssueOpenedIcon size={Size.SMALL} />
154154
Issue
155155
</Stack>
156156
</li>

0 commit comments

Comments
 (0)