From 73b27bfc00d36254c4577f97e220638726af5be3 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Tue, 28 Jan 2025 17:16:07 -0500 Subject: [PATCH] refactor: nest detailed notification sub-settings Signed-off-by: Adam Setch --- .../settings/AppearanceSettings.tsx | 162 ++++++++-------- .../__snapshots__/Settings.test.tsx.snap | 178 ++++++++++-------- 2 files changed, 178 insertions(+), 162 deletions(-) diff --git a/src/renderer/components/settings/AppearanceSettings.tsx b/src/renderer/components/settings/AppearanceSettings.tsx index 5d58ed82d..33831e0dd 100644 --- a/src/renderer/components/settings/AppearanceSettings.tsx +++ b/src/renderer/components/settings/AppearanceSettings.tsx @@ -167,95 +167,97 @@ export const AppearanceSettings: FC = () => { tooltip={ - Enrich notifications with author or last commenter profile - information, state and GitHub-like colors. + Enrich notifications with detailed user and state information. + + + You may also choose to display{' '} + notification metric pills or{' '} + notification numbers. ⚠️ Users with a large number of unread notifications may{' '} - experience rate limiting under certain circumstances. Disable - this setting if you experience this. + experience rate limiting under certain circumstances. Please + disable this setting if you experience this. } /> - updateSetting('showPills', evt.target.checked)} - tooltip={ - - Show notification metric pills for: - -
    -
  • - - linked issues -
  • -
  • - - pr reviews -
  • -
  • - - comments -
  • -
  • - - labels -
  • -
  • - - milestones -
  • -
-
-
- } - /> +
- -
- -
-
-
- - -
-
+ +
+
+
- - + +
+ +
+