Skip to content

Commit fc1375d

Browse files
committed
feat: search notifications
Signed-off-by: Adam Setch <[email protected]>
1 parent 28b8458 commit fc1375d

File tree

4 files changed

+107
-1355
lines changed

4 files changed

+107
-1355
lines changed

src/renderer/components/filters/SearchFilter.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ import { type FC, useContext, useEffect, useId, useState } from 'react';
33
import {
44
CheckCircleFillIcon,
55
NoEntryFillIcon,
6+
OrganizationIcon,
7+
PersonIcon,
8+
RepoIcon,
69
SearchIcon,
710
} from '@primer/octicons-react';
811
import { Box, Stack, Text, TextInputWithTokens } from '@primer/react';
912

1013
import { AppContext } from '../../context/App';
11-
import { IconColor, type SearchToken } from '../../types';
14+
import { IconColor, type SearchToken, Size } from '../../types';
1215
import {
1316
hasExcludeSearchFilters,
1417
hasIncludeSearchFilters,
@@ -138,13 +141,15 @@ export const SearchFilter: FC = () => {
138141
<Box className="pl-4">
139142
<Stack direction="vertical" gap="condensed">
140143
<Stack direction="horizontal" gap="condensed">
144+
<PersonIcon size={Size.SMALL} />
141145
Author (author:handle)
142146
</Stack>
143147
<Stack direction="horizontal" gap="condensed">
148+
<OrganizationIcon size={Size.SMALL} />
144149
Organization (org:orgname)
145150
</Stack>
146151
<Stack direction="horizontal" gap="condensed">
147-
Repository (repo:reponame)
152+
<RepoIcon size={Size.SMALL} /> Repository (repo:reponame)
148153
</Stack>
149154
</Stack>
150155
</Box>

0 commit comments

Comments
 (0)