From 44e91a392fce957d8a687cd01744fe721d1a862b Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Wed, 3 Jul 2024 18:00:05 -0800 Subject: [PATCH] feat: add icons to header sections --- .../settings/AppearanceSettings.tsx | 2 + .../settings/NotificationSettings.tsx | 2 + src/components/settings/SystemSettings.tsx | 2 + src/routes/Filters.tsx | 8 +++- .../__snapshots__/Filters.test.tsx.snap | 28 +++++++++++++ .../__snapshots__/Settings.test.tsx.snap | 42 +++++++++++++++++++ 6 files changed, 83 insertions(+), 1 deletion(-) diff --git a/src/components/settings/AppearanceSettings.tsx b/src/components/settings/AppearanceSettings.tsx index 4efd91340..4a31ac201 100644 --- a/src/components/settings/AppearanceSettings.tsx +++ b/src/components/settings/AppearanceSettings.tsx @@ -3,6 +3,7 @@ import { CommentIcon, IssueClosedIcon, MilestoneIcon, + PaintbrushIcon, TagIcon, } from '@primer/octicons-react'; import { ipcRenderer } from 'electron'; @@ -27,6 +28,7 @@ export const AppearanceSettings: FC = () => { return (
+ Appearance { return (
+ Notifications { return (
+ System {
+ Users {
+ Reason diff --git a/src/routes/__snapshots__/Filters.test.tsx.snap b/src/routes/__snapshots__/Filters.test.tsx.snap index 4bbea5a2c..fc2c4fbae 100644 --- a/src/routes/__snapshots__/Filters.test.tsx.snap +++ b/src/routes/__snapshots__/Filters.test.tsx.snap @@ -45,6 +45,20 @@ exports[`routes/Filters.tsx General should render itself & its children 1`] = ` class="mb-1 mt-2 font-semibold" id="notifications" > + Users
+ Reason + Appearance
+ Notifications
+ System