Repository: gitify-app/gitify
Pull request #1324 (2024-07-01 12:14:34)

chore: automatically open devtools on local development
I'd argue the "old" settings were not really useful, so I've also removed them.


Patch:
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a36e457a..e0b94e53 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -30,6 +30,8 @@ To run the **electron app**:
 pnpm start
 ```
 
+To reload the app with the changes that `pnpm watch` has detected, you can use the `CmdOrCtrl+R` shortcut.
+
 ### Tests
 
 There are 2 checks:
diff --git a/src/components/settings/AppearanceSettings.tsx b/src/components/settings/AppearanceSettings.tsx
new file mode 100644
index 00000000..e50a818a
--- /dev/null
+++ b/src/components/settings/AppearanceSettings.tsx
@@ -0,0 +1,111 @@
+import {
+  CheckIcon,
+  CommentIcon,
+  IssueClosedIcon,
+  MilestoneIcon,
+  TagIcon,
+} from '@primer/octicons-react';
+import { ipcRenderer } from 'electron';
+import { type FC, useContext, useEffect } from 'react';
+import { AppContext } from '../../context/App';
+import { Size, Theme } from '../../types';
+import { setTheme } from '../../utils/theme';
+import { Checkbox } from '../fields/Checkbox';
+import { RadioGroup } from '../fields/RadioGroup';
+
+export const AppearanceSettings: FC = () => {
+  const { settings, updateSetting } = useContext(AppContext);
+
+  useEffect(() => {
+    ipcRenderer.on('gitify:update-theme', (_, updatedTheme: Theme) => {
+      if (settings.theme === Theme.SYSTEM) {
+        setTheme(updatedTheme);
+      }
+    });
+  }, [settings.theme]);
+
+  return (
+    <fieldset className="mb-3">
+      <legend id="appearance" className="mb-1 mt-2 font-semibold">
+        Appearance
+      </legend>
+      <RadioGroup
+        name="theme"
+        label="Theme:"
+        value={settings.theme}
+        options={[
+          { label: 'System', value: Theme.SYSTEM },
+          { label: 'Light', value: Theme.LIGHT },
+          { label: 'Dark', value: Theme.DARK },
+        ]}
+        onChange={(evt) => {
+          updateSetting('theme', evt.target.value);
+        }}
+      />
+      <Checkbox
+        name="detailedNotifications"
+        label="Detailed notifications"
+        checked={settings.detailedNotifications}
+        onChange={(evt) =>
+          updateSetting('detailedNotifications', evt.target.checked)
+        }
+        tooltip={
+          <div>
+            <div className="pb-3">
+              Enrich notifications with author or last commenter profile
+              information, state and GitHub-like colors.
+            </div>
+            <div className="text-orange-600">
+              ⚠️ Users with a large number of unread notifications <i>may</i>{' '}
+              experience rate limiting under certain circumstances. Disable this
+              setting if you experience this.
+            </div>
+          </div>
+        }
+      />
+      <Checkbox
+        name="showPills"
+        label="Show notification metric pills"
+        checked={settings.showPills}
+        onChange={(evt) => updateSetting('showPills', evt.target.checked)}
+        tooltip={
+          <div>
+            <div>Show notification metric pills for:</div>
+            <div className="pl-6">
+              <ul className="list-disc">
+                <li>
+                  <IssueClosedIcon size={Size.MEDIUM} className="pr-1" />
+                  linked issues
+                </li>
+                <li>
+                  <CheckIcon size={Size.MEDIUM} className="pr-1" /> pr reviews
+                </li>
+                <li>
+                  <CommentIcon size={Size.MEDIUM} className="pr-1" />
+                  comments
+                </li>
+
+                <li>
+                  <TagIcon size={Size.MEDIUM} className="pr-1" />
+                  labels
+                </li>
+                <li>
+                  <MilestoneIcon size={Size.MEDIUM} className="pr-1" />
+                  milestones
+                </li>
+              </ul>
+            </div>
+          </div>
+        }
+      />
+      <Checkbox
+        name="showAccountHostname"
+        label="Show account hostname"
+        checked={settings.showAccountHostname}
+        onChange={(evt) =>
+          updateSetting('showAccountHostname', evt.target.checked)
+        }
+      />
+    </fieldset>
+  );
+};
diff --git a/src/components/settings/NotificationSettings.tsx b/src/components/settings/NotificationSettings.tsx
new file mode 100644
index 00000000..de33b5c5
--- /dev/null
+++ b/src/components/settings/NotificationSettings.tsx
@@ -0,0 +1,99 @@
+import { type FC, type MouseEvent, useContext } from 'react';
+import { AppContext } from '../../context/App';
+import { GroupBy } from '../../types';
+import { openGitHubParticipatingDocs } from '../../utils/links';
+import { Checkbox } from '../fields/Checkbox';
+import { RadioGroup } from '../fields/RadioGroup';
+
+export const NotificationSettings: FC = () => {
+  const { settings, updateSetting } = useContext(AppContext);
+
+  return (
+    <fieldset className="mb-3">
+      <legend id="notifications" className="mb-1 mt-2 font-semibold">
+        Notifications
+      </legend>
+      <RadioGroup
+        name="groupBy"
+        label="Group by:"
+        value={settings.groupBy}
+        options={[
+          { label: 'Repository', value: GroupBy.REPOSITORY },
+          { label: 'Date', value: GroupBy.DATE },
+        ]}
+        onChange={(evt) => {
+          updateSetting('groupBy', evt.target.value);
+        }}
+      />
+      <Checkbox
+        name="showOnlyParticipating"
+        label="Show only participating"
+        checked={settings.participating}
+        onChange={(evt) => updateSetting('participating', evt.target.checked)}
+        tooltip={
+          <div>
+            See
+            <button
+              type="button"
+              className="mx-1 text-blue-500"
+              title="Open GitHub documentation for participating and watching notifications"
+              onClick={(event: MouseEvent<HTMLElement>) => {
+                // Don't trigger onClick of parent element.
+                event.stopPropagation();
+                openGitHubParticipatingDocs();
+              }}
+            >
+              official docs
+            </button>
+            for more details.
+          </div>
+        }
+      />
+      <Checkbox
+        name="showBots"
+        label="Show notifications from Bot accounts"
+        checked={!settings.detailedNotifications || settings.showBots}
+        onChange={(evt) =>
+          settings.detailedNotifications &&
+          updateSetting('showBots', evt.target.checked)
+        }
+        disabled={!settings.detailedNotifications}
+        tooltip={
+          <div>
+            <div className="pb-3">
+              Show or hide notifications from Bot accounts, such as @dependabot,
+              @renovatebot, etc
+            </div>
+            <div className="text-orange-600">
+              ⚠️ This setting requires <strong>Detailed Notifications</strong> to
+              be enabled.
+            </div>
+          </div>
+        }
+      />
+      <Checkbox
+        name="markAsDoneOnOpen"
+        label="Mark as done on open"
+        checked={settings.markAsDoneOnOpen}
+        onChange={(evt) =>
+          updateSetting('markAsDoneOnOpen', evt.target.checked)
+        }
+      />
+      <Checkbox
+        name="delayNotificationState"
+        label="Delay notification state"
+        checked={settings.delayNotificationState}
+        onChange={(evt) =>
+          updateSetting('delayNotificationState', evt.target.checked)
+        }
+        tooltip={
+          <div>
+            Keep the notification within Gitify window upon interaction (click,
+            mark as read, mark as done, etc) until the next refresh window
+            (scheduled or user initiated).
+          </div>
+        }
+      />
+    </fieldset>
+  );
+};
diff --git a/src/components/settings/SettingsFooter.tsx b/src/components/settings/SettingsFooter.tsx
new file mode 100644
index 00000000..54d4c470
--- /dev/null
+++ b/src/components/settings/SettingsFooter.tsx
@@ -0,0 +1,57 @@
+import { PersonIcon, XCircleIcon } from '@primer/octicons-react';
+import { type FC, useEffect, useState } from 'react';
+import { useNavigate } from 'react-router-dom';
+import { BUTTON_CLASS_NAME } from '../../styles/gitify';
+import { Size } from '../../types';
+import { getAppVersion, quitApp } from '../../utils/comms';
+import { openGitifyReleaseNotes } from '../../utils/links';
+
+export const SettingsFooter: FC = () => {
+  const [appVersion, setAppVersion] = useState<string | null>(null);
+  const navigate = useNavigate();
+
+  useEffect(() => {
+    (async () => {
+      if (process.env.NODE_ENV === 'development') {
+        setAppVersion('dev');
+      } else {
+        const result = await getAppVersion();
+        setAppVersion(`v${result}`);
+      }
+    })();
+  }, []);
+
+  return (
+    <div className="flex items-center justify-between bg-gray-200 px-8 py-1 text-sm dark:bg-gray-darker">
+      <button
+        type="button"
+        className="cursor-pointer font-semibold"
+        title="View release notes"
+        onClick={() => openGitifyReleaseNotes(appVersion)}
+      >
+        <span title="app-version">Gitify {appVersion}</span>
+      </button>
+      <div>
+        <button
+          type="button"
+          className={BUTTON_CLASS_NAME}
+          title="Accounts"
+          onClick={() => {
+            navigate('/accounts');
+          }}
+        >
+          <PersonIcon size={Size.LARGE} aria-label="Accounts" />
+        </button>
+
+        <button
+          type="button"
+          className={BUTTON_CLASS_NAME}
+          title="Quit Gitify"
+          onClick={quitApp}
+        >
+          <XCircleIcon size={Size.LARGE} aria-label="Quit Gitify" />
+        </button>
+      </div>
+    </div>
+  );
+};
diff --git a/src/components/settings/SystemSettings.tsx b/src/components/settings/SystemSettings.tsx
new file mode 100644
index 00000000..44e7a936
--- /dev/null
+++ b/src/components/settings/SystemSettings.tsx
@@ -0,0 +1,66 @@
+import { type FC, useContext } from 'react';
+import { AppContext } from '../../context/App';
+import Constants from '../../utils/constants';
+import { isLinux, isMacOS } from '../../utils/platform';
+import { Checkbox } from '../fields/Checkbox';
+
+export const SystemSettings: FC = () => {
+  const { settings, updateSetting } = useContext(AppContext);
+
+  return (
+    <fieldset className="mb-3">
+      <legend id="system" className="mb-1 mt-2 font-semibold">
+        System
+      </legend>
+      <Checkbox
+        name="kbdShortcutEnabled"
+        label="Enable keyboard shortcut"
+        checked={settings.keyboardShortcut}
+        onChange={(evt) =>
+          updateSetting('keyboardShortcut', evt.target.checked)
+        }
+        tooltip={
+          <div>
+            When enabled you can use the hotkeys{' '}
+            <span className="text-orange-600">
+              {Constants.DEFAULT_KEYBOARD_SHORTCUT}
+            </span>{' '}
+            to show or hide Gitify.
+          </div>
+        }
+      />
+      {isMacOS() && (
+        <Checkbox
+          name="showNotificationsCountInTray"
+          label="Show notifications count in tray"
+          checked={settings.showNotificationsCountInTray}
+          onChange={(evt) =>
+            updateSetting('showNotificationsCountInTray', evt.target.checked)
+          }
+        />
+      )}
+      <Checkbox
+        name="showNotifications"
+        label="Show system notifications"
+        checked={settings.showNotifications}
+        onChange={(evt) =>
+          updateSetting('showNotifications', evt.target.checked)
+        }
+      />
+      <Checkbox
+        name="playSound"
+        label="Play sound"
+        checked={settings.playSound}
+        onChange={(evt) => updateSetting('playSound', evt.target.checked)}
+      />
+      {!isLinux() && (
+        <Checkbox
+          name="openAtStartUp"
+          label="Open at startup"
+          checked={settings.openAtStartup}
+          onChange={(evt) => updateSetting('openAtStartup', evt.target.checked)}
+        />
+      )}
+    </fieldset>
+  );
+};
diff --git a/src/electron/main.js b/src/electron/main.js
index 303bd0e8..0d04fcf2 100644
--- a/src/electron/main.js
+++ b/src/electron/main.js
@@ -34,6 +34,13 @@ const browserWindowOpts = {
 };
 
 const contextMenu = Menu.buildFromTemplate([
+  {
+    role: 'reload',
+  },
+  {
+    role: 'toggleDevTools',
+  },
+  { type: 'separator' },
   {
     label: 'Quit',
     click: () => {
@@ -80,6 +87,7 @@ app.whenReady().then(async () => {
       mb.window.setSize(800, 600);
       mb.window.center();
       mb.window.resizable = true;
+      mb.window.setAlwaysOnTop(true);
     });
 
     mb.window.webContents.on('devtools-closed', () => {
diff --git a/src/routes/Settings.tsx b/src/routes/Settings.tsx
index fada5716..878a6e1d 100644
--- a/src/routes/Settings.tsx
+++ b/src/routes/Settings.tsx
@@ -1,328 +1,22 @@
-import {
-  CheckIcon,
-  CommentIcon,
-  IssueClosedIcon,
-  MilestoneIcon,
-  PersonIcon,
-  TagIcon,
-  XCircleIcon,
-} from '@primer/octicons-react';
-import { ipcRenderer } from 'electron';
-import {
-  type FC,
-  type MouseEvent,
-  useContext,
-  useEffect,
-  useState,
-} from 'react';
-import { useNavigate } from 'react-router-dom';
+import type { FC } from 'react';
 import { Header } from '../components/Header';
-import { Checkbox } from '../components/fields/Checkbox';
-import { RadioGroup } from '../components/fields/RadioGroup';
-import { AppContext } from '../context/App';
-import { BUTTON_CLASS_NAME } from '../styles/gitify';
-import { GroupBy, Size, Theme } from '../types';
-import { getAppVersion, quitApp } from '../utils/comms';
-import Constants from '../utils/constants';
-import {
-  openGitHubParticipatingDocs,
-  openGitifyReleaseNotes,
-} from '../utils/links';
-import { isLinux, isMacOS } from '../utils/platform';
-import { setTheme } from '../utils/theme';
+import { AppearanceSettings } from '../components/settings/AppearanceSettings';
+import { NotificationSettings } from '../components/settings/NotificationSettings';
+import { SettingsFooter } from '../components/settings/SettingsFooter';
+import { SystemSettings } from '../components/settings/SystemSettings';
 
 export const SettingsRoute: FC = () => {
-  const { settings, updateSetting } = useContext(AppContext);
-  const navigate = useNavigate();
-
-  const [appVersion, setAppVersion] = useState<string | null>(null);
-
-  useEffect(() => {
-    (async () => {
-      if (process.env.NODE_ENV === 'development') {
-        setAppVersion('dev');
-      } else {
-        const result = await getAppVersion();
-        setAppVersion(`v${result}`);
-      }
-    })();
-
-    ipcRenderer.on('gitify:update-theme', (_, updatedTheme: Theme) => {
-      if (settings.theme === Theme.SYSTEM) {
-        setTheme(updatedTheme);
-      }
-    });
-  }, [settings.theme]);
-
   return (
     <div className="flex h-screen flex-col" data-testid="settings">
       <Header fetchOnBack={true}>Settings</Header>
-      <div className="flex-grow overflow-x-auto px-8">
-        <fieldset className="mb-3">
-          <legend id="appearance" className="mb-1 mt-2 font-semibold">
-            Appearance
-          </legend>
-          <RadioGroup
-            name="theme"
-            label="Theme:"
-            value={settings.theme}
-            options={[
-              { label: 'System', value: Theme.SYSTEM },
-              { label: 'Light', value: Theme.LIGHT },
-              { label: 'Dark', value: Theme.DARK },
-            ]}
-            onChange={(evt) => {
-              updateSetting('theme', evt.target.value);
-            }}
-          />
-          <Checkbox
-            name="detailedNotifications"
-            label="Detailed notifications"
-            checked={settings.detailedNotifications}
-            onChange={(evt) =>
-              updateSetting('detailedNotifications', evt.target.checked)
-            }
-            tooltip={
-              <div>
-                <div className="pb-3">
-                  Enrich notifications with author or last commenter profile
-                  information, state and GitHub-like colors.
-                </div>
-                <div className="text-orange-600">
-                  ⚠️ Users with a large number of unread notifications <i>may</i>{' '}
-                  experience rate limiting under certain circumstances. Disable
-                  this setting if you experience this.
-                </div>
-              </div>
-            }
-          />
-          <Checkbox
-            name="showPills"
-            label="Show notification metric pills"
-            checked={settings.showPills}
-            onChange={(evt) => updateSetting('showPills', evt.target.checked)}
-            tooltip={
-              <div>
-                <div>Show notification metric pills for:</div>
-                <div className="pl-6">
-                  <ul className="list-disc">
-                    <li>
-                      <IssueClosedIcon size={Size.MEDIUM} className="pr-1" />
-                      linked issues
-                    </li>
-                    <li>
-                      <CheckIcon size={Size.MEDIUM} className="pr-1" /> pr
-                      reviews
-                    </li>
-                    <li>
-                      <CommentIcon size={Size.MEDIUM} className="pr-1" />
-                      comments
-                    </li>
 
-                    <li>
-                      <TagIcon size={Size.MEDIUM} className="pr-1" />
-                      labels
-                    </li>
-                    <li>
-                      <MilestoneIcon size={Size.MEDIUM} className="pr-1" />
-                      milestones
-                    </li>
-                  </ul>
-                </div>
-              </div>
-            }
-          />
-          <Checkbox
-            name="showAccountHostname"
-            label="Show account hostname"
-            checked={settings.showAccountHostname}
-            onChange={(evt) =>
-              updateSetting('showAccountHostname', evt.target.checked)
-            }
-          />
-        </fieldset>
-
-        <fieldset className="mb-3">
-          <legend id="notifications" className="mb-1 mt-2 font-semibold">
-            Notifications
-          </legend>
-          <RadioGroup
-            name="groupBy"
-            label="Group by:"
-            value={settings.groupBy}
-            options={[
-              { label: 'Repository', value: GroupBy.REPOSITORY },
-              { label: 'Date', value: GroupBy.DATE },
-            ]}
-            onChange={(evt) => {
-              updateSetting('groupBy', evt.target.value);
-            }}
-          />
-          <Checkbox
-            name="showOnlyParticipating"
-            label="Show only participating"
-            checked={settings.participating}
-            onChange={(evt) =>
-              updateSetting('participating', evt.target.checked)
-            }
-            tooltip={
-              <div>
-                See
-                <button
-                  type="button"
-                  className="mx-1 text-blue-500"
-                  title="Open GitHub documentation for participating and watching notifications"
-                  onClick={(event: MouseEvent<HTMLElement>) => {
-                    // Don't trigger onClick of parent element.
-                    event.stopPropagation();
-                    openGitHubParticipatingDocs();
-                  }}
-                >
-                  official docs
-                </button>
-                for more details.
-              </div>
-            }
-          />
-          <Checkbox
-            name="showBots"
-            label="Show notifications from Bot accounts"
-            checked={!settings.detailedNotifications || settings.showBots}
-            onChange={(evt) =>
-              settings.detailedNotifications &&
-              updateSetting('showBots', evt.target.checked)
-            }
-            disabled={!settings.detailedNotifications}
-            tooltip={
-              <div>
-                <div className="pb-3">
-                  Show or hide notifications from Bot accounts, such as
-                  @dependabot, @renovatebot, etc
-                </div>
-                <div className="text-orange-600">
-                  ⚠️ This setting requires{' '}
-                  <strong>Detailed Notifications</strong> to be enabled.
-                </div>
-              </div>
-            }
-          />
-          <Checkbox
-            name="markAsDoneOnOpen"
-            label="Mark as done on open"
-            checked={settings.markAsDoneOnOpen}
-            onChange={(evt) =>
-              updateSetting('markAsDoneOnOpen', evt.target.checked)
-            }
-          />
-          <Checkbox
-            name="delayNotificationState"
-            label="Delay notification state"
-            checked={settings.delayNotificationState}
-            onChange={(evt) =>
-              updateSetting('delayNotificationState', evt.target.checked)
-            }
-            tooltip={
-              <div>
-                Keep the notification within Gitify window upon interaction
-                (click, mark as read, mark as done, etc) until the next refresh
-                window (scheduled or user initiated).
-              </div>
-            }
-          />
-        </fieldset>
-
-        <fieldset className="mb-3">
-          <legend id="system" className="mb-1 mt-2 font-semibold">
-            System
-          </legend>
-          <Checkbox
-            name="kbdShortcutEnabled"
-            label="Enable keyboard shortcut"
-            checked={settings.keyboardShortcut}
-            onChange={(evt) =>
-              updateSetting('keyboardShortcut', evt.target.checked)
-            }
-            tooltip={
-              <div>
-                When enabled you can use the hotkeys{' '}
-                <span className="text-orange-600">
-                  {Constants.DEFAULT_KEYBOARD_SHORTCUT}
-                </span>{' '}
-                to show or hide Gitify.
-              </div>
-            }
-          />
-          {isMacOS() && (
-            <Checkbox
-              name="showNotificationsCountInTray"
-              label="Show notifications count in tray"
-              checked={settings.showNotificationsCountInTray}
-              onChange={(evt) =>
-                updateSetting(
-                  'showNotificationsCountInTray',
-                  evt.target.checked,
-                )
-              }
-            />
-          )}
-          <Checkbox
-            name="showNotifications"
-            label="Show system notifications"
-            checked={settings.showNotifications}
-            onChange={(evt) =>
-              updateSetting('showNotifications', evt.target.checked)
-            }
-          />
-          <Checkbox
-            name="playSound"
-            label="Play sound"
-            checked={settings.playSound}
-            onChange={(evt) => updateSetting('playSound', evt.target.checked)}
-          />
-          {!isLinux() && (
-            <Checkbox
-              name="openAtStartUp"
-              label="Open at startup"
-              checked={settings.openAtStartup}
-              onChange={(evt) =>
-                updateSetting('openAtStartup', evt.target.checked)
-              }
-            />
-          )}
-        </fieldset>
+      <div className="flex-grow overflow-x-auto px-8">
+        <AppearanceSettings />
+        <NotificationSettings />
+        <SystemSettings />
       </div>
 
-      <div className="flex items-center justify-between bg-gray-200 px-8 py-1 text-sm dark:bg-gray-darker">
-        <button
-          type="button"
-          className="cursor-pointer font-semibold"
-          title="View release notes"
-          onClick={() => openGitifyReleaseNotes(appVersion)}
-        >
-          <span title="app-version">Gitify {appVersion}</span>
-        </button>
-        <div>
-          <button
-            type="button"
-            className={BUTTON_CLASS_NAME}
-            title="Accounts"
-            onClick={() => {
-              navigate('/accounts');
-            }}
-          >
-            <PersonIcon size={Size.LARGE} aria-label="Accounts" />
-          </button>
-
-          <button
-            type="button"
-            className={BUTTON_CLASS_NAME}
-            title="Quit Gitify"
-            onClick={quitApp}
-          >
-            <XCircleIcon size={Size.LARGE} aria-label="Quit Gitify" />
-          </button>
-        </div>
-      </div>
+      <SettingsFooter />
     </div>
   );
 };


Test patch:
diff --git a/src/components/settings/AppearanceSettings.test.tsx b/src/components/settings/AppearanceSettings.test.tsx
new file mode 100644
index 00000000..96cae84b
--- /dev/null
+++ b/src/components/settings/AppearanceSettings.test.tsx
@@ -0,0 +1,111 @@
+import { act, fireEvent, render, screen } from '@testing-library/react';
+import { MemoryRouter } from 'react-router-dom';
+import { mockAuth, mockSettings } from '../../__mocks__/state-mocks';
+import { AppContext } from '../../context/App';
+import { AppearanceSettings } from './AppearanceSettings';
+
+describe('routes/components/AppearanceSettings.tsx', () => {
+  const updateSetting = jest.fn();
+
+  afterEach(() => {
+    jest.clearAllMocks();
+  });
+
+  it('should change the theme radio group', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <AppearanceSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByLabelText('Light'));
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('theme', 'LIGHT');
+  });
+
+  it('should toggle detailed notifications checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <AppearanceSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    await screen.findByLabelText('Detailed notifications');
+
+    fireEvent.click(screen.getByLabelText('Detailed notifications'));
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('detailedNotifications', false);
+  });
+
+  it('should toggle metric pills checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <AppearanceSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    await screen.findByLabelText('Show notification metric pills');
+
+    fireEvent.click(screen.getByLabelText('Show notification metric pills'));
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('showPills', false);
+  });
+
+  it('should toggle account hostname checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <AppearanceSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    await screen.findByLabelText('Show account hostname');
+
+    fireEvent.click(screen.getByLabelText('Show account hostname'));
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('showAccountHostname', true);
+  });
+});
diff --git a/src/components/settings/NotificationSettings.test.tsx b/src/components/settings/NotificationSettings.test.tsx
new file mode 100644
index 00000000..b6ea137c
--- /dev/null
+++ b/src/components/settings/NotificationSettings.test.tsx
@@ -0,0 +1,230 @@
+import { act, fireEvent, render, screen } from '@testing-library/react';
+import { MemoryRouter } from 'react-router-dom';
+import { mockAuth, mockSettings } from '../../__mocks__/state-mocks';
+import { AppContext } from '../../context/App';
+import * as comms from '../../utils/comms';
+import { NotificationSettings } from './NotificationSettings';
+
+describe('routes/components/NotificationSettings.tsx', () => {
+  const updateSetting = jest.fn();
+
+  afterEach(() => {
+    jest.clearAllMocks();
+  });
+
+  it('should change the groupBy radio group', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <NotificationSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByLabelText('Date'));
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('groupBy', 'DATE');
+  });
+  it('should toggle the showOnlyParticipating checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <NotificationSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByLabelText('Show only participating'), {
+      target: { checked: true },
+    });
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('participating', false);
+  });
+
+  it('should open official docs for showOnlyParticipating tooltip', async () => {
+    const openExternalLinkMock = jest.spyOn(comms, 'openExternalLink');
+
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <NotificationSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    const tooltipElement = screen.getByLabelText(
+      'tooltip-showOnlyParticipating',
+    );
+
+    fireEvent.mouseEnter(tooltipElement);
+
+    fireEvent.click(
+      screen.getByTitle(
+        'Open GitHub documentation for participating and watching notifications',
+      ),
+    );
+
+    expect(openExternalLinkMock).toHaveBeenCalledTimes(1);
+    expect(openExternalLinkMock).toHaveBeenCalledWith(
+      'https://docs.github.com/en/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#about-participating-and-watching-notifications',
+    );
+  });
+
+  it('should not be able to toggle the showBots checkbox when detailedNotifications is disabled', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: {
+              ...mockSettings,
+              detailedNotifications: false,
+              showBots: true,
+            },
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <NotificationSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    expect(
+      screen
+        .getByLabelText('Show notifications from Bot accounts')
+        .closest('input'),
+    ).toHaveProperty('disabled', true);
+
+    // click the checkbox
+    fireEvent.click(
+      screen.getByLabelText('Show notifications from Bot accounts'),
+    );
+
+    // check if the checkbox is still unchecked
+    expect(updateSetting).not.toHaveBeenCalled();
+
+    expect(
+      screen.getByLabelText('Show notifications from Bot accounts').parentNode
+        .parentNode,
+    ).toMatchSnapshot();
+  });
+
+  it('should be able to toggle the showBots checkbox when detailedNotifications is enabled', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: {
+              ...mockSettings,
+              detailedNotifications: true,
+              showBots: true,
+            },
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <NotificationSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    expect(
+      screen
+        .getByLabelText('Show notifications from Bot accounts')
+        .closest('input'),
+    ).toHaveProperty('disabled', false);
+
+    // click the checkbox
+    fireEvent.click(
+      screen.getByLabelText('Show notifications from Bot accounts'),
+    );
+
+    // check if the checkbox is still unchecked
+    expect(updateSetting).toHaveBeenCalledWith('showBots', false);
+
+    expect(
+      screen.getByLabelText('Show notifications from Bot accounts').parentNode
+        .parentNode,
+    ).toMatchSnapshot();
+  });
+
+  it('should toggle the markAsDoneOnOpen checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <NotificationSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByLabelText('Mark as done on open'), {
+      target: { checked: true },
+    });
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('markAsDoneOnOpen', false);
+  });
+
+  it('should toggle the delayNotificationState checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <NotificationSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByLabelText('Delay notification state'), {
+      target: { checked: true },
+    });
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('delayNotificationState', false);
+  });
+});
diff --git a/src/components/settings/SettingsFooter.test.tsx b/src/components/settings/SettingsFooter.test.tsx
new file mode 100644
index 00000000..546c7599
--- /dev/null
+++ b/src/components/settings/SettingsFooter.test.tsx
@@ -0,0 +1,148 @@
+import { act, fireEvent, render, screen } from '@testing-library/react';
+import { MemoryRouter } from 'react-router-dom';
+import { mockAuth, mockSettings } from '../../__mocks__/state-mocks';
+import { AppContext } from '../../context/App';
+import * as comms from '../../utils/comms';
+import { SettingsFooter } from './SettingsFooter';
+
+const mockNavigate = jest.fn();
+jest.mock('react-router-dom', () => ({
+  ...jest.requireActual('react-router-dom'),
+  useNavigate: () => mockNavigate,
+}));
+
+describe('routes/components/SettingsFooter.tsx', () => {
+  afterEach(() => {
+    jest.clearAllMocks();
+  });
+
+  describe('app version', () => {
+    let originalEnv: NodeJS.ProcessEnv;
+
+    beforeEach(() => {
+      // Save the original node env state
+      originalEnv = process.env;
+    });
+
+    afterEach(() => {
+      // Restore the original node env state
+      process.env = originalEnv;
+    });
+
+    it('should show production app version', async () => {
+      process.env = {
+        ...originalEnv,
+        NODE_ENV: 'production',
+      };
+
+      await act(async () => {
+        render(
+          <AppContext.Provider
+            value={{
+              auth: mockAuth,
+              settings: mockSettings,
+            }}
+          >
+            <MemoryRouter>
+              <SettingsFooter />
+            </MemoryRouter>
+          </AppContext.Provider>,
+        );
+      });
+
+      expect(screen.getByTitle('app-version')).toMatchSnapshot();
+    });
+
+    it('should show development app version', async () => {
+      process.env = {
+        ...originalEnv,
+        NODE_ENV: 'development',
+      };
+
+      await act(async () => {
+        render(
+          <AppContext.Provider
+            value={{
+              auth: mockAuth,
+              settings: mockSettings,
+            }}
+          >
+            <MemoryRouter>
+              <SettingsFooter />
+            </MemoryRouter>
+          </AppContext.Provider>,
+        );
+      });
+
+      expect(screen.getByTitle('app-version')).toMatchSnapshot();
+    });
+  });
+
+  it('should open release notes', async () => {
+    const openExternalLinkMock = jest.spyOn(comms, 'openExternalLink');
+
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+          }}
+        >
+          <MemoryRouter>
+            <SettingsFooter />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByTitle('View release notes'));
+
+    expect(openExternalLinkMock).toHaveBeenCalledTimes(1);
+    expect(openExternalLinkMock).toHaveBeenCalledWith(
+      'https://github.com/gitify-app/gitify/releases/tag/v0.0.1',
+    );
+  });
+
+  it('should open account management', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+          }}
+        >
+          <MemoryRouter>
+            <SettingsFooter />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByTitle('Accounts'));
+    expect(mockNavigate).toHaveBeenCalledWith('/accounts');
+  });
+
+  it('should quit the app', async () => {
+    const quitAppMock = jest.spyOn(comms, 'quitApp');
+
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+          }}
+        >
+          <MemoryRouter>
+            <SettingsFooter />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByTitle('Quit Gitify'));
+    expect(quitAppMock).toHaveBeenCalledTimes(1);
+  });
+});
diff --git a/src/components/settings/SystemSettings.test.tsx b/src/components/settings/SystemSettings.test.tsx
new file mode 100644
index 00000000..3ca7c6df
--- /dev/null
+++ b/src/components/settings/SystemSettings.test.tsx
@@ -0,0 +1,141 @@
+import { act, fireEvent, render, screen } from '@testing-library/react';
+import { MemoryRouter } from 'react-router-dom';
+import { mockAuth, mockSettings } from '../../__mocks__/state-mocks';
+import { AppContext } from '../../context/App';
+import { SystemSettings } from './SystemSettings';
+
+describe('routes/components/SystemSettings.tsx', () => {
+  const updateSetting = jest.fn();
+
+  afterEach(() => {
+    jest.clearAllMocks();
+  });
+
+  it('should toggle the keyboardShortcut checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <SystemSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByLabelText('Enable keyboard shortcut'), {
+      target: { checked: true },
+    });
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('keyboardShortcut', false);
+  });
+
+  it('should toggle the showNotificationsCountInTray checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <SystemSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByLabelText('Show notifications count in tray'), {
+      target: { checked: true },
+    });
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith(
+      'showNotificationsCountInTray',
+      false,
+    );
+  });
+
+  it('should toggle the showNotifications checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <SystemSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByLabelText('Show system notifications'), {
+      target: { checked: true },
+    });
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('showNotifications', false);
+  });
+
+  it('should toggle the playSound checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <SystemSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByLabelText('Play sound'), {
+      target: { checked: true },
+    });
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('playSound', false);
+  });
+
+  it('should toggle the openAtStartup checkbox', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            updateSetting,
+          }}
+        >
+          <MemoryRouter>
+            <SystemSettings />
+          </MemoryRouter>
+        </AppContext.Provider>,
+      );
+    });
+
+    fireEvent.click(screen.getByLabelText('Open at startup'), {
+      target: { checked: true },
+    });
+
+    expect(updateSetting).toHaveBeenCalledTimes(1);
+    expect(updateSetting).toHaveBeenCalledWith('openAtStartup', false);
+  });
+});
diff --git a/src/components/settings/__snapshots__/NotificationSettings.test.tsx.snap b/src/components/settings/__snapshots__/NotificationSettings.test.tsx.snap
new file mode 100644
index 00000000..ec5007e7
--- /dev/null
+++ b/src/components/settings/__snapshots__/NotificationSettings.test.tsx.snap
@@ -0,0 +1,97 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`routes/components/NotificationSettings.tsx should be able to toggle the showBots checkbox when detailedNotifications is enabled 1`] = `
+<div
+  class="flex items-start"
+>
+  <div
+    class="flex h-5 items-center"
+  >
+    <input
+      checked=""
+      class="size-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500"
+      id="showBots"
+      type="checkbox"
+    />
+  </div>
+  <div
+    class="ml-3"
+  >
+    <label
+      class="font-medium text-gray-700 dark:text-gray-200"
+      for="showBots"
+    >
+      Show notifications from Bot accounts
+      <span
+        aria-label="tooltip-showBots"
+        class="relative"
+        id="tooltip-showBots"
+      >
+        <svg
+          aria-hidden="true"
+          class="ml-1 text-blue-500"
+          fill="currentColor"
+          focusable="false"
+          height="16"
+          style="display: inline-block; user-select: none; vertical-align: text-bottom; overflow: visible;"
+          viewBox="0 0 16 16"
+          width="16"
+        >
+          <path
+            d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.92 6.085h.001a.749.749 0 1 1-1.342-.67c.169-.339.436-.701.849-.977C6.845 4.16 7.369 4 8 4a2.756 2.756 0 0 1 1.637.525c.503.377.863.965.863 1.725 0 .448-.115.83-.329 1.15-.205.307-.47.513-.692.662-.109.072-.22.138-.313.195l-.006.004a6.24 6.24 0 0 0-.26.16.952.952 0 0 0-.276.245.75.75 0 0 1-1.248-.832c.184-.264.42-.489.692-.661.103-.067.207-.132.313-.195l.007-.004c.1-.061.182-.11.258-.161a.969.969 0 0 0 .277-.245C8.96 6.514 9 6.427 9 6.25a.612.612 0 0 0-.262-.525A1.27 1.27 0 0 0 8 5.5c-.369 0-.595.09-.74.187a1.01 1.01 0 0 0-.34.398ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"
+          />
+        </svg>
+      </span>
+    </label>
+  </div>
+</div>
+`;
+
+exports[`routes/components/NotificationSettings.tsx should not be able to toggle the showBots checkbox when detailedNotifications is disabled 1`] = `
+<div
+  class="flex items-start"
+>
+  <div
+    class="flex h-5 items-center"
+  >
+    <input
+      checked=""
+      class="size-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500"
+      disabled=""
+      id="showBots"
+      type="checkbox"
+    />
+  </div>
+  <div
+    class="ml-3"
+  >
+    <label
+      class="font-medium text-gray-700 dark:text-gray-200"
+      for="showBots"
+      style="text-decoration: line-through;"
+    >
+      Show notifications from Bot accounts
+      <span
+        aria-label="tooltip-showBots"
+        class="relative"
+        id="tooltip-showBots"
+      >
+        <svg
+          aria-hidden="true"
+          class="ml-1 text-blue-500"
+          fill="currentColor"
+          focusable="false"
+          height="16"
+          style="display: inline-block; user-select: none; vertical-align: text-bottom; overflow: visible;"
+          viewBox="0 0 16 16"
+          width="16"
+        >
+          <path
+            d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.92 6.085h.001a.749.749 0 1 1-1.342-.67c.169-.339.436-.701.849-.977C6.845 4.16 7.369 4 8 4a2.756 2.756 0 0 1 1.637.525c.503.377.863.965.863 1.725 0 .448-.115.83-.329 1.15-.205.307-.47.513-.692.662-.109.072-.22.138-.313.195l-.006.004a6.24 6.24 0 0 0-.26.16.952.952 0 0 0-.276.245.75.75 0 0 1-1.248-.832c.184-.264.42-.489.692-.661.103-.067.207-.132.313-.195l.007-.004c.1-.061.182-.11.258-.161a.969.969 0 0 0 .277-.245C8.96 6.514 9 6.427 9 6.25a.612.612 0 0 0-.262-.525A1.27 1.27 0 0 0 8 5.5c-.369 0-.595.09-.74.187a1.01 1.01 0 0 0-.34.398ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"
+          />
+        </svg>
+      </span>
+    </label>
+  </div>
+</div>
+`;
diff --git a/src/components/settings/__snapshots__/SettingsFooter.test.tsx.snap b/src/components/settings/__snapshots__/SettingsFooter.test.tsx.snap
new file mode 100644
index 00000000..75e06fc2
--- /dev/null
+++ b/src/components/settings/__snapshots__/SettingsFooter.test.tsx.snap
@@ -0,0 +1,19 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`routes/components/SettingsFooter.tsx app version should show development app version 1`] = `
+<span
+  title="app-version"
+>
+  Gitify 
+  dev
+</span>
+`;
+
+exports[`routes/components/SettingsFooter.tsx app version should show production app version 1`] = `
+<span
+  title="app-version"
+>
+  Gitify 
+  v0.0.1
+</span>
+`;
diff --git a/src/routes/Settings.test.tsx b/src/routes/Settings.test.tsx
index 333cc184..962984fa 100644
--- a/src/routes/Settings.test.tsx
+++ b/src/routes/Settings.test.tsx
@@ -3,7 +3,6 @@ import { MemoryRouter } from 'react-router-dom';
 import { mockAuth, mockSettings } from '../__mocks__/state-mocks';
 import { mockPlatform } from '../__mocks__/utils';
 import { AppContext } from '../context/App';
-import * as comms from '../utils/comms';
 import { SettingsRoute } from './Settings';
 
 const mockNavigate = jest.fn();
@@ -14,7 +13,6 @@ jest.mock('react-router-dom', () => ({
 
 describe('routes/Settings.tsx', () => {
   let originalPlatform: NodeJS.Platform;
-  const updateSetting = jest.fn();
   const fetchNotifications = jest.fn();
 
   beforeAll(() => {
@@ -39,631 +37,39 @@ describe('routes/Settings.tsx', () => {
     });
   });
 
-  describe('General', () => {
-    it('should render itself & its children', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{ auth: mockAuth, settings: mockSettings }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      expect(screen.getByTestId('settings')).toMatchSnapshot();
-    });
-
-    it('should go back by pressing the icon', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              fetchNotifications,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByLabelText('Go Back'));
-      expect(fetchNotifications).toHaveBeenCalledTimes(1);
-      expect(mockNavigate).toHaveBeenNthCalledWith(1, -1);
-    });
-  });
-  describe('Appearance section', () => {
-    it('should change the theme radio group', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByLabelText('Light'));
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith('theme', 'LIGHT');
-    });
-
-    it('should toggle detailed notifications checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      await screen.findByLabelText('Detailed notifications');
-
-      fireEvent.click(screen.getByLabelText('Detailed notifications'));
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith(
-        'detailedNotifications',
-        false,
+  it('should render itself & its children', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider value={{ auth: mockAuth, settings: mockSettings }}>
+          <MemoryRouter>
+            <SettingsRoute />
+          </MemoryRouter>
+        </AppContext.Provider>,
       );
     });
 
-    it('should toggle metric pills checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      await screen.findByLabelText('Show notification metric pills');
-
-      fireEvent.click(screen.getByLabelText('Show notification metric pills'));
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith('showPills', false);
-    });
-
-    it('should toggle account hostname checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      await screen.findByLabelText('Show account hostname');
-
-      fireEvent.click(screen.getByLabelText('Show account hostname'));
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith('showAccountHostname', true);
-    });
+    expect(screen.getByTestId('settings')).toMatchSnapshot();
   });
 
-  describe('Notifications section', () => {
-    it('should change the groupBy radio group', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByLabelText('Date'));
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith('groupBy', 'DATE');
-    });
-    it('should toggle the showOnlyParticipating checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByLabelText('Show only participating'), {
-        target: { checked: true },
-      });
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith('participating', false);
-    });
-
-    it('should open official docs for showOnlyParticipating tooltip', async () => {
-      const openExternalLinkMock = jest.spyOn(comms, 'openExternalLink');
-
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      const tooltipElement = screen.getByLabelText(
-        'tooltip-showOnlyParticipating',
-      );
-
-      fireEvent.mouseEnter(tooltipElement);
-
-      fireEvent.click(
-        screen.getByTitle(
-          'Open GitHub documentation for participating and watching notifications',
-        ),
-      );
-
-      expect(openExternalLinkMock).toHaveBeenCalledTimes(1);
-      expect(openExternalLinkMock).toHaveBeenCalledWith(
-        'https://docs.github.com/en/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#about-participating-and-watching-notifications',
-      );
-    });
-
-    it('should not be able to toggle the showBots checkbox when detailedNotifications is disabled', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: {
-                ...mockSettings,
-                detailedNotifications: false,
-                showBots: true,
-              },
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      expect(
-        screen
-          .getByLabelText('Show notifications from Bot accounts')
-          .closest('input'),
-      ).toHaveProperty('disabled', true);
-
-      // click the checkbox
-      fireEvent.click(
-        screen.getByLabelText('Show notifications from Bot accounts'),
+  it('should go back by pressing the icon', async () => {
+    await act(async () => {
+      render(
+        <AppContext.Provider
+          value={{
+            auth: mockAuth,
+            settings: mockSettings,
+            fetchNotifications,
+          }}
+        >
+          <MemoryRouter>
+            <SettingsRoute />
+          </MemoryRouter>
+        </AppContext.Provider>,
       );
-
-      // check if the checkbox is still unchecked
-      expect(updateSetting).not.toHaveBeenCalled();
-
-      expect(
-        screen.getByLabelText('Show notifications from Bot accounts').parentNode
-          .parentNode,
-      ).toMatchSnapshot();
     });
 
-    it('should be able to toggle the showBots checkbox when detailedNotifications is enabled', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: {
-                ...mockSettings,
-                detailedNotifications: true,
-                showBots: true,
-              },
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      expect(
-        screen
-          .getByLabelText('Show notifications from Bot accounts')
-          .closest('input'),
-      ).toHaveProperty('disabled', false);
-
-      // click the checkbox
-      fireEvent.click(
-        screen.getByLabelText('Show notifications from Bot accounts'),
-      );
-
-      // check if the checkbox is still unchecked
-      expect(updateSetting).toHaveBeenCalledWith('showBots', false);
-
-      expect(
-        screen.getByLabelText('Show notifications from Bot accounts').parentNode
-          .parentNode,
-      ).toMatchSnapshot();
-    });
-
-    it('should toggle the markAsDoneOnOpen checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByLabelText('Mark as done on open'), {
-        target: { checked: true },
-      });
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith('markAsDoneOnOpen', false);
-    });
-
-    it('should toggle the delayNotificationState checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByLabelText('Delay notification state'), {
-        target: { checked: true },
-      });
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith(
-        'delayNotificationState',
-        false,
-      );
-    });
-  });
-
-  describe('System section', () => {
-    it('should toggle the keyboardShortcut checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByLabelText('Enable keyboard shortcut'), {
-        target: { checked: true },
-      });
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith('keyboardShortcut', false);
-    });
-
-    it('should toggle the showNotificationsCountInTray checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(
-        screen.getByLabelText('Show notifications count in tray'),
-        {
-          target: { checked: true },
-        },
-      );
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith(
-        'showNotificationsCountInTray',
-        false,
-      );
-    });
-
-    it('should toggle the showNotifications checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByLabelText('Show system notifications'), {
-        target: { checked: true },
-      });
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith('showNotifications', false);
-    });
-
-    it('should toggle the playSound checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByLabelText('Play sound'), {
-        target: { checked: true },
-      });
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith('playSound', false);
-    });
-
-    it('should toggle the openAtStartup checkbox', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-              updateSetting,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByLabelText('Open at startup'), {
-        target: { checked: true },
-      });
-
-      expect(updateSetting).toHaveBeenCalledTimes(1);
-      expect(updateSetting).toHaveBeenCalledWith('openAtStartup', false);
-    });
-  });
-
-  describe('Footer section', () => {
-    describe('app version', () => {
-      let originalEnv: NodeJS.ProcessEnv;
-
-      beforeEach(() => {
-        // Save the original node env state
-        originalEnv = process.env;
-      });
-
-      afterEach(() => {
-        // Restore the original node env state
-        process.env = originalEnv;
-      });
-
-      it('should show production app version', async () => {
-        process.env = {
-          ...originalEnv,
-          NODE_ENV: 'production',
-        };
-
-        await act(async () => {
-          render(
-            <AppContext.Provider
-              value={{
-                auth: mockAuth,
-                settings: mockSettings,
-              }}
-            >
-              <MemoryRouter>
-                <SettingsRoute />
-              </MemoryRouter>
-            </AppContext.Provider>,
-          );
-        });
-
-        expect(screen.getByTitle('app-version')).toMatchSnapshot();
-      });
-
-      it('should show development app version', async () => {
-        process.env = {
-          ...originalEnv,
-          NODE_ENV: 'development',
-        };
-
-        await act(async () => {
-          render(
-            <AppContext.Provider
-              value={{
-                auth: mockAuth,
-                settings: mockSettings,
-              }}
-            >
-              <MemoryRouter>
-                <SettingsRoute />
-              </MemoryRouter>
-            </AppContext.Provider>,
-          );
-        });
-
-        expect(screen.getByTitle('app-version')).toMatchSnapshot();
-      });
-    });
-
-    it('should open release notes', async () => {
-      const openExternalLinkMock = jest.spyOn(comms, 'openExternalLink');
-
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByTitle('View release notes'));
-
-      expect(openExternalLinkMock).toHaveBeenCalledTimes(1);
-      expect(openExternalLinkMock).toHaveBeenCalledWith(
-        'https://github.com/gitify-app/gitify/releases/tag/v0.0.1',
-      );
-    });
-
-    it('should open account management', async () => {
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByTitle('Accounts'));
-      expect(mockNavigate).toHaveBeenCalledWith('/accounts');
-    });
-
-    it('should quit the app', async () => {
-      const quitAppMock = jest.spyOn(comms, 'quitApp');
-
-      await act(async () => {
-        render(
-          <AppContext.Provider
-            value={{
-              auth: mockAuth,
-              settings: mockSettings,
-            }}
-          >
-            <MemoryRouter>
-              <SettingsRoute />
-            </MemoryRouter>
-          </AppContext.Provider>,
-        );
-      });
-
-      fireEvent.click(screen.getByTitle('Quit Gitify'));
-      expect(quitAppMock).toHaveBeenCalledTimes(1);
-    });
+    fireEvent.click(screen.getByLabelText('Go Back'));
+    expect(fetchNotifications).toHaveBeenCalledTimes(1);
+    expect(mockNavigate).toHaveBeenNthCalledWith(1, -1);
   });
 });
diff --git a/src/routes/__snapshots__/Settings.test.tsx.snap b/src/routes/__snapshots__/Settings.test.tsx.snap
index 7dc30886..d5d0b6cf 100644
--- a/src/routes/__snapshots__/Settings.test.tsx.snap
+++ b/src/routes/__snapshots__/Settings.test.tsx.snap
@@ -1,24 +1,6 @@
 // Jest Snapshot v1, https://goo.gl/fbAQLP
 
-exports[`routes/Settings.tsx Footer section app version should show development app version 1`] = `
-<span
-  title="app-version"
->
-  Gitify 
-  dev
-</span>
-`;
-
-exports[`routes/Settings.tsx Footer section app version should show production app version 1`] = `
-<span
-  title="app-version"
->
-  Gitify 
-  v0.0.1
-</span>
-`;
-
-exports[`routes/Settings.tsx General should render itself & its children 1`] = `
+exports[`routes/Settings.tsx should render itself & its children 1`] = `
 <div
   class="flex h-screen flex-col"
   data-testid="settings"
@@ -734,99 +716,3 @@ exports[`routes/Settings.tsx General should render itself & its children 1`] = `
   </div>
 </div>
 `;
-
-exports[`routes/Settings.tsx Notifications section should be able to toggle the showBots checkbox when detailedNotifications is enabled 1`] = `
-<div
-  class="flex items-start"
->
-  <div
-    class="flex h-5 items-center"
-  >
-    <input
-      checked=""
-      class="size-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500"
-      id="showBots"
-      type="checkbox"
-    />
-  </div>
-  <div
-    class="ml-3"
-  >
-    <label
-      class="font-medium text-gray-700 dark:text-gray-200"
-      for="showBots"
-    >
-      Show notifications from Bot accounts
-      <span
-        aria-label="tooltip-showBots"
-        class="relative"
-        id="tooltip-showBots"
-      >
-        <svg
-          aria-hidden="true"
-          class="ml-1 text-blue-500"
-          fill="currentColor"
-          focusable="false"
-          height="16"
-          style="display: inline-block; user-select: none; vertical-align: text-bottom; overflow: visible;"
-          viewBox="0 0 16 16"
-          width="16"
-        >
-          <path
-            d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.92 6.085h.001a.749.749 0 1 1-1.342-.67c.169-.339.436-.701.849-.977C6.845 4.16 7.369 4 8 4a2.756 2.756 0 0 1 1.637.525c.503.377.863.965.863 1.725 0 .448-.115.83-.329 1.15-.205.307-.47.513-.692.662-.109.072-.22.138-.313.195l-.006.004a6.24 6.24 0 0 0-.26.16.952.952 0 0 0-.276.245.75.75 0 0 1-1.248-.832c.184-.264.42-.489.692-.661.103-.067.207-.132.313-.195l.007-.004c.1-.061.182-.11.258-.161a.969.969 0 0 0 .277-.245C8.96 6.514 9 6.427 9 6.25a.612.612 0 0 0-.262-.525A1.27 1.27 0 0 0 8 5.5c-.369 0-.595.09-.74.187a1.01 1.01 0 0 0-.34.398ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"
-          />
-        </svg>
-      </span>
-    </label>
-  </div>
-</div>
-`;
-
-exports[`routes/Settings.tsx Notifications section should not be able to toggle the showBots checkbox when detailedNotifications is disabled 1`] = `
-<div
-  class="flex items-start"
->
-  <div
-    class="flex h-5 items-center"
-  >
-    <input
-      checked=""
-      class="size-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500"
-      disabled=""
-      id="showBots"
-      type="checkbox"
-    />
-  </div>
-  <div
-    class="ml-3"
-  >
-    <label
-      class="font-medium text-gray-700 dark:text-gray-200"
-      for="showBots"
-      style="text-decoration: line-through;"
-    >
-      Show notifications from Bot accounts
-      <span
-        aria-label="tooltip-showBots"
-        class="relative"
-        id="tooltip-showBots"
-      >
-        <svg
-          aria-hidden="true"
-          class="ml-1 text-blue-500"
-          fill="currentColor"
-          focusable="false"
-          height="16"
-          style="display: inline-block; user-select: none; vertical-align: text-bottom; overflow: visible;"
-          viewBox="0 0 16 16"
-          width="16"
-        >
-          <path
-            d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.92 6.085h.001a.749.749 0 1 1-1.342-.67c.169-.339.436-.701.849-.977C6.845 4.16 7.369 4 8 4a2.756 2.756 0 0 1 1.637.525c.503.377.863.965.863 1.725 0 .448-.115.83-.329 1.15-.205.307-.47.513-.692.662-.109.072-.22.138-.313.195l-.006.004a6.24 6.24 0 0 0-.26.16.952.952 0 0 0-.276.245.75.75 0 0 1-1.248-.832c.184-.264.42-.489.692-.661.103-.067.207-.132.313-.195l.007-.004c.1-.061.182-.11.258-.161a.969.969 0 0 0 .277-.245C8.96 6.514 9 6.427 9 6.25a.612.612 0 0 0-.262-.525A1.27 1.27 0 0 0 8 5.5c-.369 0-.595.09-.74.187a1.01 1.01 0 0 0-.34.398ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"
-          />
-        </svg>
-      </span>
-    </label>
-  </div>
-</div>
-`;