Skip to content

Commit 3164149

Browse files
authored
feat(filters): add @copilot as Bot example (#2581)
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 6283b7d commit 3164149

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/renderer/components/filters/UserTypeFilter.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ export const UserTypeFilter: FC = () => {
2929
<Stack direction="vertical" gap="condensed">
3030
<Stack direction="horizontal" gap="condensed">
3131
<PersonIcon size={Size.SMALL} />
32-
User
32+
{userTypeFilter.FILTER_TYPES['User'].title}
3333
</Stack>
3434
<Stack direction="horizontal" gap="condensed">
3535
<DependabotIcon size={Size.SMALL} />
36-
Bot accounts such as @dependabot, @renovate, @netlify, etc
36+
{userTypeFilter.FILTER_TYPES['Bot'].description}
3737
</Stack>
3838
<Stack direction="horizontal" gap="condensed">
3939
<OrganizationIcon size={Size.SMALL} />
40-
Organization
40+
{userTypeFilter.FILTER_TYPES['Organization'].title}
4141
</Stack>
4242
</Stack>
4343
</div>

src/renderer/utils/api/graphql/generated/graphql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9416,7 +9416,7 @@ export type Issue = Assignable & Closable & Comment & Deletable & Labelable & Lo
94169416
*/
94179417
projectCards: ProjectCardConnection;
94189418
/** List of project items associated with this issue. */
9419-
projectItems: ProjectV2ItemConnection;
9419+
projectItems?: Maybe<ProjectV2ItemConnection>;
94209420
/** Find a project by number. */
94219421
projectV2?: Maybe<ProjectV2>;
94229422
/** A list of projects under the owner. */
@@ -21362,7 +21362,7 @@ export type PullRequest = Assignable & Closable & Comment & Labelable & Lockable
2136221362
*/
2136321363
projectCards: ProjectCardConnection;
2136421364
/** List of project items associated with this pull request. */
21365-
projectItems: ProjectV2ItemConnection;
21365+
projectItems?: Maybe<ProjectV2ItemConnection>;
2136621366
/** Find a project by number. */
2136721367
projectV2?: Maybe<ProjectV2>;
2136821368
/** A list of projects under the owner. */

src/renderer/utils/notifications/filters/userType.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ const USER_TYPE_DETAILS: Record<UserType, TypeDetails> = {
1515
},
1616
Bot: {
1717
title: 'Bot',
18-
description: 'Bot accounts such as @dependabot, @renovate, @netlify, etc',
18+
description:
19+
'Bot accounts such as @copilot, @dependabot, @renovate, @netlify, etc',
1920
},
2021
Organization: {
2122
title: 'Organization',

0 commit comments

Comments
 (0)