From 6de32cbfe6912f5b1ab4d3a199c5761780468a55 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Wed, 1 Apr 2026 08:30:25 -0400 Subject: [PATCH 1/2] test(vitest): use deps.optimizer.client Signed-off-by: Adam Setch --- src/renderer/__helpers__/test-utils.tsx | 12 +- .../__snapshots__/AllRead.test.tsx.snap | 138 +- .../__snapshots__/Oops.test.tsx.snap | 158 +- .../__snapshots__/Sidebar.test.tsx.snap | 1868 +++++---- .../AvatarWithFallback.test.tsx.snap | 250 +- .../__snapshots__/Checkbox.test.tsx.snap | 387 +- .../__snapshots__/FieldLabel.test.tsx.snap | 21 +- .../__snapshots__/RadioGroup.test.tsx.snap | 254 +- .../__snapshots__/FilterSection.test.tsx.snap | 1006 +++-- .../__snapshots__/ReasonFilter.test.tsx.snap | 1677 ++++---- ...DetailedNotificationsWarning.test.tsx.snap | 31 +- .../SearchFilterSuggestions.test.tsx.snap | 381 +- .../__snapshots__/StateFilter.test.tsx.snap | 559 ++- .../SubjectTypeFilter.test.tsx.snap | 729 ++-- .../UserTypeFilter.test.tsx.snap | 349 +- .../__snapshots__/LogoIcon.test.tsx.snap | 465 +-- .../ScopeStatusIcon.test.tsx.snap | 164 +- .../__snapshots__/AppLayout.test.tsx.snap | 1147 +++--- .../__snapshots__/Centered.test.tsx.snap | 50 +- .../__snapshots__/Contents.test.tsx.snap | 15 +- .../__snapshots__/EmojiSplash.test.tsx.snap | 144 +- .../layout/__snapshots__/Page.test.tsx.snap | 17 +- .../__snapshots__/CommentsPill.test.tsx.snap | 225 +- .../__snapshots__/LabelsPill.test.tsx.snap | 188 +- .../LinkedIssuesPill.test.tsx.snap | 237 +- .../__snapshots__/MetricGroup.test.tsx.snap | 220 +- .../__snapshots__/MetricPill.test.tsx.snap | 204 +- .../__snapshots__/MilestonePill.test.tsx.snap | 213 +- .../__snapshots__/ReactionsPill.test.tsx.snap | 523 ++- .../__snapshots__/ReviewsPill.test.tsx.snap | 218 +- .../AccountNotifications.test.tsx.snap | 3608 ++++++++--------- .../NotificationFooter.test.tsx.snap | 1182 +++--- .../NotificationHeader.test.tsx.snap | 246 +- .../NotificationRow.test.tsx.snap | 2414 ++++++----- .../NotificationTitle.test.tsx.snap | 279 +- .../RepositoryNotifications.test.tsx.snap | 1278 +++--- .../__snapshots__/CustomCounter.test.tsx.snap | 19 +- .../__snapshots__/EmojiText.test.tsx.snap | 25 +- .../__snapshots__/Footer.test.tsx.snap | 54 +- .../__snapshots__/Header.test.tsx.snap | 117 +- .../__snapshots__/HoverButton.test.tsx.snap | 80 +- .../__snapshots__/HoverGroup.test.tsx.snap | 27 +- .../__snapshots__/Title.test.tsx.snap | 158 +- .../SettingsFooter.test.tsx.snap | 2 +- .../__snapshots__/Filters.test.tsx.snap | 4 +- .../routes/__snapshots__/Login.test.tsx.snap | 401 +- .../LoginWithOAuthApp.test.tsx.snap | 765 ++-- ...LoginWithPersonalAccessToken.test.tsx.snap | 687 ++-- .../__snapshots__/Notifications.test.tsx.snap | 136 +- .../__snapshots__/Settings.test.tsx.snap | 12 +- vitest.config.ts | 11 +- 51 files changed, 11016 insertions(+), 12339 deletions(-) diff --git a/src/renderer/__helpers__/test-utils.tsx b/src/renderer/__helpers__/test-utils.tsx index 8bb7da1b8..f61023090 100644 --- a/src/renderer/__helpers__/test-utils.tsx +++ b/src/renderer/__helpers__/test-utils.tsx @@ -2,8 +2,6 @@ import { render } from '@testing-library/react'; import { type ReactElement, type ReactNode, useMemo } from 'react'; import { MemoryRouter } from 'react-router-dom'; -import { BaseStyles, ThemeProvider } from '@primer/react'; - import { mockAuth, mockSettings } from '../__mocks__/state-mocks'; import { AppContext, type AppContextState } from '../context/App'; @@ -86,13 +84,9 @@ function AppContextProvider({ return ( - - - - {children} - - - + + {children} + ); } diff --git a/src/renderer/components/__snapshots__/AllRead.test.tsx.snap b/src/renderer/components/__snapshots__/AllRead.test.tsx.snap index dcc9d188e..9d45d6bce 100644 --- a/src/renderer/components/__snapshots__/AllRead.test.tsx.snap +++ b/src/renderer/components/__snapshots__/AllRead.test.tsx.snap @@ -3,56 +3,45 @@ exports[`renderer/components/AllRead.tsx > should render itself & its children - no filters 1`] = `
-
-
- 🎉 -
-
- No new notifications -
-
+ 🎉 +
+
+ No new notifications
@@ -63,56 +52,45 @@ exports[`renderer/components/AllRead.tsx > should render itself & its children - exports[`renderer/components/AllRead.tsx > should render itself & its children - with filters 1`] = `
+ 🎉 +
+
-
-
- 🎉 -
-
- No new filtered notifications -
-
+ No new filtered notifications
diff --git a/src/renderer/components/__snapshots__/Oops.test.tsx.snap b/src/renderer/components/__snapshots__/Oops.test.tsx.snap index cf76d60c6..3fd05a49b 100644 --- a/src/renderer/components/__snapshots__/Oops.test.tsx.snap +++ b/src/renderer/components/__snapshots__/Oops.test.tsx.snap @@ -3,62 +3,51 @@ exports[`renderer/components/Oops.tsx > should render itself & its children - fallback to unknown error 1`] = `
-
-
- 🤔 -
-
- Oops! Something went wrong -
-
-
- Please try again later. -
+ 🤔
+
+ Oops! Something went wrong +
+
+
+ Please try again later.
@@ -68,62 +57,51 @@ exports[`renderer/components/Oops.tsx > should render itself & its children - fa exports[`renderer/components/Oops.tsx > should render itself & its children - specified error 1`] = `
-
-
- 🔥 -
-
- Error title -
-
-
- Error description -
+ 🔥
+
+ Error title +
+
+
+ Error description
diff --git a/src/renderer/components/__snapshots__/Sidebar.test.tsx.snap b/src/renderer/components/__snapshots__/Sidebar.test.tsx.snap index 639d9fe49..184073b15 100644 --- a/src/renderer/components/__snapshots__/Sidebar.test.tsx.snap +++ b/src/renderer/components/__snapshots__/Sidebar.test.tsx.snap @@ -2,7 +2,7 @@ exports[`renderer/components/Sidebar.tsx > Filter notifications > highlight filters sidebar if any are saved 1`] = ` + + + + + + - + + + + + - + + + + + - + + + + + - + + + + + - + + + + + -
-
+ + +
+
+ + - + + + + + -
-
+ + +
@@ -771,443 +760,432 @@ exports[`renderer/components/Sidebar.tsx > should render itself & its children ( exports[`renderer/components/Sidebar.tsx > should render itself & its children (logged out) 1`] = `
-
- -
+ + +
+
+ + -
-
+ + +
diff --git a/src/renderer/components/avatars/__snapshots__/AvatarWithFallback.test.tsx.snap b/src/renderer/components/avatars/__snapshots__/AvatarWithFallback.test.tsx.snap index 3e42a0f8b..cb5c38f18 100644 --- a/src/renderer/components/avatars/__snapshots__/AvatarWithFallback.test.tsx.snap +++ b/src/renderer/components/avatars/__snapshots__/AvatarWithFallback.test.tsx.snap @@ -3,49 +3,38 @@ exports[`renderer/components/avatars/AvatarWithFallback.tsx > renders the fallback icon when no src url - human user 1`] = `
+
-
- -
- @gitify-app -
-
+ @gitify-app
@@ -54,49 +43,38 @@ exports[`renderer/components/avatars/AvatarWithFallback.tsx > renders the fallba exports[`renderer/components/avatars/AvatarWithFallback.tsx > renders the fallback icon when no src url - non human user 1`] = `
+
-
- -
- @gitify-app -
-
+ @gitify-app
@@ -181,42 +159,31 @@ exports[`renderer/components/avatars/AvatarWithFallback.tsx > renders the fallba exports[`renderer/components/avatars/AvatarWithFallback.tsx > should render avatar - human user 1`] = `
+ gitify-app
-
- gitify-app -
- @gitify-app -
-
+ @gitify-app
@@ -225,43 +192,32 @@ exports[`renderer/components/avatars/AvatarWithFallback.tsx > should render avat exports[`renderer/components/avatars/AvatarWithFallback.tsx > should render avatar - non-human user 1`] = `
+ gitify-app
-
- gitify-app -
- @gitify-app -
-
+ @gitify-app
diff --git a/src/renderer/components/fields/__snapshots__/Checkbox.test.tsx.snap b/src/renderer/components/fields/__snapshots__/Checkbox.test.tsx.snap index 2340d72d8..53df831a9 100644 --- a/src/renderer/components/fields/__snapshots__/Checkbox.test.tsx.snap +++ b/src/renderer/components/fields/__snapshots__/Checkbox.test.tsx.snap @@ -3,98 +3,63 @@ exports[`renderer/components/fields/Checkbox.tsx > should render - disabled 1`] = `
-
+
+ Appearance +
`; -exports[`renderer/components/fields/Checkbox.tsx > should render - not visible 1`] = ` -
-
-
-
-
-`; +exports[`renderer/components/fields/Checkbox.tsx > should render - not visible 1`] = `
`; exports[`renderer/components/fields/Checkbox.tsx > should render - positive counter selected 1`] = `
-
+
+ Appearance + + + 5 +
`; @@ -102,42 +67,31 @@ exports[`renderer/components/fields/Checkbox.tsx > should render - positive coun exports[`renderer/components/fields/Checkbox.tsx > should render - positive counter unselected 1`] = `
-
+
+ Appearance + + + 5 +
`; @@ -145,64 +99,53 @@ exports[`renderer/components/fields/Checkbox.tsx > should render - positive coun exports[`renderer/components/fields/Checkbox.tsx > should render - tooltip 1`] = `
-
+ + -
-
+ +
`; @@ -210,38 +153,27 @@ exports[`renderer/components/fields/Checkbox.tsx > should render - tooltip 1`] = exports[`renderer/components/fields/Checkbox.tsx > should render - visible 1`] = `
-
+
+ Appearance +
`; @@ -249,43 +181,32 @@ exports[`renderer/components/fields/Checkbox.tsx > should render - visible 1`] = exports[`renderer/components/fields/Checkbox.tsx > should render - zero counter 1`] = `
-
+
+ Appearance + + + 0 +
`; diff --git a/src/renderer/components/fields/__snapshots__/FieldLabel.test.tsx.snap b/src/renderer/components/fields/__snapshots__/FieldLabel.test.tsx.snap index 62c2069ba..6d2b45e22 100644 --- a/src/renderer/components/fields/__snapshots__/FieldLabel.test.tsx.snap +++ b/src/renderer/components/fields/__snapshots__/FieldLabel.test.tsx.snap @@ -2,22 +2,11 @@ exports[`renderer/components/fields/FieldLabel.tsx > should render 1`] = `
-
-
- -
-
+ Appearance +
`; diff --git a/src/renderer/components/fields/__snapshots__/RadioGroup.test.tsx.snap b/src/renderer/components/fields/__snapshots__/RadioGroup.test.tsx.snap index ed084efa7..2b57d5503 100644 --- a/src/renderer/components/fields/__snapshots__/RadioGroup.test.tsx.snap +++ b/src/renderer/components/fields/__snapshots__/RadioGroup.test.tsx.snap @@ -3,79 +3,68 @@ exports[`renderer/components/fields/RadioGroup.tsx > should render 1`] = `
+ +
+ + +
-
+
+ Value 2 +
@@ -84,79 +73,68 @@ exports[`renderer/components/fields/RadioGroup.tsx > should render 1`] = ` exports[`renderer/components/fields/RadioGroup.tsx > should render as disabled 1`] = `
+ +
+ + +
-
+
+ Value 2 +
diff --git a/src/renderer/components/filters/__snapshots__/FilterSection.test.tsx.snap b/src/renderer/components/filters/__snapshots__/FilterSection.test.tsx.snap index 952e51c57..377746471 100644 --- a/src/renderer/components/filters/__snapshots__/FilterSection.test.tsx.snap +++ b/src/renderer/components/filters/__snapshots__/FilterSection.test.tsx.snap @@ -2,562 +2,540 @@ exports[`renderer/components/filters/FilterSection.tsx > should render itself & its children > with detailed notifications disabled 1`] = `
-
-
-
+
- -
-
- -

- FilterSectionTitle -

-
-
-
- -
+

- - - - 0 - -

-
+
+
+ +
+
+ + +
-
+ + + 0 + +
+
+ + + + 0 + +
+
+ + + + 0 + +
+
+ + +
-
+ + + 1 + +
+
+ + +
-
-
+ + + + 3 + +
-
+
`; exports[`renderer/components/filters/FilterSection.tsx > should render itself & its children > with detailed notifications enabled 1`] = `
-
-
-
+
- -
-
- -

- FilterSectionTitle -

-
-
-
- -
+

- - - - 0 - -

-
+
+
+ +
+
+ + +
-
+ + + 0 + +
+
+ + + + 0 + +
+
+ + + + 0 + +
+
+ + +
-
+ + + 1 + +
+
+ + +
-
-
+ + + + 3 + +
-
+
`; diff --git a/src/renderer/components/filters/__snapshots__/ReasonFilter.test.tsx.snap b/src/renderer/components/filters/__snapshots__/ReasonFilter.test.tsx.snap index 1babd119d..24cb7ed65 100644 --- a/src/renderer/components/filters/__snapshots__/ReasonFilter.test.tsx.snap +++ b/src/renderer/components/filters/__snapshots__/ReasonFilter.test.tsx.snap @@ -2,889 +2,878 @@ exports[`renderer/components/filters/ReasonFilter.tsx > should render itself & its children 1`] = `
-
-
-
+
- -
-
- -

- Reason -

- -
-
-
- -
+

+ Reason +

+ +
+
+ +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 1 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
+ + + 0 + +
+
+ + +
-
-
+ + + + 3 + +
+
+ + + + + 0 + +
-
+ `; diff --git a/src/renderer/components/filters/__snapshots__/RequiresDetailedNotificationsWarning.test.tsx.snap b/src/renderer/components/filters/__snapshots__/RequiresDetailedNotificationsWarning.test.tsx.snap index 5580be8ad..e58b23f21 100644 --- a/src/renderer/components/filters/__snapshots__/RequiresDetailedNotificationsWarning.test.tsx.snap +++ b/src/renderer/components/filters/__snapshots__/RequiresDetailedNotificationsWarning.test.tsx.snap @@ -2,28 +2,17 @@ exports[`renderer/components/filters/RequiresDetailedNotificationsWarning.tsx > should render itself & its children 1`] = `
-
-
- - ⚠️ This filter requires the - - Detailed Notifications - - - setting to be enabled. - -
-
+ Detailed Notifications + + + setting to be enabled. +
`; diff --git a/src/renderer/components/filters/__snapshots__/SearchFilterSuggestions.test.tsx.snap b/src/renderer/components/filters/__snapshots__/SearchFilterSuggestions.test.tsx.snap index c52cdd4d3..bda3a4ad3 100644 --- a/src/renderer/components/filters/__snapshots__/SearchFilterSuggestions.test.tsx.snap +++ b/src/renderer/components/filters/__snapshots__/SearchFilterSuggestions.test.tsx.snap @@ -1,60 +1,36 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`renderer/components/filters/SearchFilterSuggestions.tsx > should render itself & its children - closed 1`] = ` -
-
-
-
-
-`; +exports[`renderer/components/filters/SearchFilterSuggestions.tsx > should render itself & its children - closed 1`] = `
`; exports[`renderer/components/filters/SearchFilterSuggestions.tsx > should render itself & its children - input token invalid 1`] = `
-
-
+ -
- - Please use one of the supported filters [ - org, repo - ] - -
-
+ Please use one of the supported filters [ + org, repo + ] +
@@ -65,55 +41,44 @@ exports[`renderer/components/filters/SearchFilterSuggestions.tsx > should render exports[`renderer/components/filters/SearchFilterSuggestions.tsx > should render itself & its children - input token valid 1`] = `
-
+
-
-
- - repo: - - - filter by repository full name - -
-
+ + repo: + + + filter by repository full name +
@@ -125,99 +90,88 @@ exports[`renderer/components/filters/SearchFilterSuggestions.tsx > should render exports[`renderer/components/filters/SearchFilterSuggestions.tsx > should render itself & its children - open with detailed notifications enabled 1`] = `
-
+
-
-
- - author: - - - filter by notification author - -
-
-
-
- - org: - - - filter by organization owner - -
-
-
-
- - repo: - - - filter by repository full name - -
-
+ + author: + + + filter by notification author + +
+
+
+
+ + org: + + + filter by organization owner + +
+
+
+
+ + repo: + + + filter by repository full name +
@@ -229,77 +183,66 @@ exports[`renderer/components/filters/SearchFilterSuggestions.tsx > should render exports[`renderer/components/filters/SearchFilterSuggestions.tsx > should render itself & its children - open without detailed notifications enabled 1`] = `
-
+
+
+ + org: + + + filter by organization owner + +
+
+
-
-
- - org: - - - filter by organization owner - -
-
-
-
- - repo: - - - filter by repository full name - -
-
+ + repo: + + + filter by repository full name +
diff --git a/src/renderer/components/filters/__snapshots__/StateFilter.test.tsx.snap b/src/renderer/components/filters/__snapshots__/StateFilter.test.tsx.snap index 5bdf036e0..040a89a04 100644 --- a/src/renderer/components/filters/__snapshots__/StateFilter.test.tsx.snap +++ b/src/renderer/components/filters/__snapshots__/StateFilter.test.tsx.snap @@ -2,310 +2,299 @@ exports[`renderer/components/filters/StateFilter.tsx > should render itself & its children 1`] = `
-
-
-
+
- -
-
- -

- State -

- -
-
-
- -
- - - +

+ State +

+
-
+ + +
+
+ +
+
+ + +
-
+ + + 0 + +
+
+ + + + 0 + +
+
+ + + + 0 + +
+
+ + +
-
+ + + 1 + +
+
+ + +
-
-
+ + + + 3 + +
-
+
`; diff --git a/src/renderer/components/filters/__snapshots__/SubjectTypeFilter.test.tsx.snap b/src/renderer/components/filters/__snapshots__/SubjectTypeFilter.test.tsx.snap index 1a5ce7615..6dcf3346f 100644 --- a/src/renderer/components/filters/__snapshots__/SubjectTypeFilter.test.tsx.snap +++ b/src/renderer/components/filters/__snapshots__/SubjectTypeFilter.test.tsx.snap @@ -2,391 +2,380 @@ exports[`renderer/components/filters/SubjectTypeFilter.tsx > should render itself & its children 1`] = `
-
-
-
+
- -
-
- -

- Type -

- -
-
-
-
- - - - 0 - -
-
- - - - 0 - -
-
- - - - 0 - -
- -
+

- - - - 0 - -

-
- - - - 0 - -
-
- - - - 2 - -
-
- - - - 1 - -
-
- - - - 1 - -
-
- - - - 0 - -
-
+
+ + +
-
+
+ +
+
+ + + + 0 + +
+
+ + + + 0 + +
+
+ + + + 0 + +
+
+ + + + 0 + +
+
+ + + + 0 + +
+
+ + + + 0 + +
+
+ + + + 2 + +
+
+ + + + 1 + +
+
+ + + + 1 + +
+
+ + + + 0 + +
+
+ + + + 0 + +
-
+
`; diff --git a/src/renderer/components/filters/__snapshots__/UserTypeFilter.test.tsx.snap b/src/renderer/components/filters/__snapshots__/UserTypeFilter.test.tsx.snap index 5e998160c..5a3986d57 100644 --- a/src/renderer/components/filters/__snapshots__/UserTypeFilter.test.tsx.snap +++ b/src/renderer/components/filters/__snapshots__/UserTypeFilter.test.tsx.snap @@ -2,201 +2,190 @@ exports[`renderer/components/filters/UserTypeFilter.tsx > should render itself & its children 1`] = `
-
-
-
+
- -
-
- -

- User Type -

- -
-
-
- -
+

- - - - 0 - -

-
+
+ + +
-
+
+ +
+
+ + + + + 0 + +
+
+ + + + 0 + +
+
+ + + + 1 + +
-
+
`; diff --git a/src/renderer/components/icons/__snapshots__/LogoIcon.test.tsx.snap b/src/renderer/components/icons/__snapshots__/LogoIcon.test.tsx.snap index 265cd649e..09fe79ad6 100644 --- a/src/renderer/components/icons/__snapshots__/LogoIcon.test.tsx.snap +++ b/src/renderer/components/icons/__snapshots__/LogoIcon.test.tsx.snap @@ -2,300 +2,245 @@ exports[`renderer/components/icons/LogoIcon.tsx > renders correctly (dark) 1`] = `
- + + + +
`; exports[`renderer/components/icons/LogoIcon.tsx > renders correctly (light) 1`] = `
- + + + +
`; exports[`renderer/components/icons/LogoIcon.tsx > should render large size 1`] = `
- + + + +
`; exports[`renderer/components/icons/LogoIcon.tsx > should render medium size 1`] = `
- + + + +
`; exports[`renderer/components/icons/LogoIcon.tsx > should render small size 1`] = `
- + + + +
`; diff --git a/src/renderer/components/icons/__snapshots__/ScopeStatusIcon.test.tsx.snap b/src/renderer/components/icons/__snapshots__/ScopeStatusIcon.test.tsx.snap index 76a474331..3d6be51be 100644 --- a/src/renderer/components/icons/__snapshots__/ScopeStatusIcon.test.tsx.snap +++ b/src/renderer/components/icons/__snapshots__/ScopeStatusIcon.test.tsx.snap @@ -2,128 +2,84 @@ exports[`renderer/components/icons/ScopeStatusIcon.tsx > granted state > renders a success icon when granted 1`] = `
- + +
`; exports[`renderer/components/icons/ScopeStatusIcon.tsx > missing state > renders a danger icon when not granted 1`] = `
- + +
`; exports[`renderer/components/icons/ScopeStatusIcon.tsx > notApplicable state > renders a dash icon when notApplicable 1`] = `
- + +
`; exports[`renderer/components/icons/ScopeStatusIcon.tsx > size prop > renders correctly with a custom size 1`] = `
- + +
`; diff --git a/src/renderer/components/layout/__snapshots__/AppLayout.test.tsx.snap b/src/renderer/components/layout/__snapshots__/AppLayout.test.tsx.snap index 6e49a54fc..c5280203d 100644 --- a/src/renderer/components/layout/__snapshots__/AppLayout.test.tsx.snap +++ b/src/renderer/components/layout/__snapshots__/AppLayout.test.tsx.snap @@ -3,687 +3,676 @@ exports[`renderer/components/layout/AppLayout.tsx > should render itself & its children 1`] = `
+ + + + + + + - + + + + + - + + + + + - + + + + + - + + + + + - + + + + + -
-
+ + +
+
+ + - + + + + + -
-
-
- Test -
+ + +
+
+ Test +
`; diff --git a/src/renderer/components/layout/__snapshots__/Centered.test.tsx.snap b/src/renderer/components/layout/__snapshots__/Centered.test.tsx.snap index 3f34450b0..ba1303be1 100644 --- a/src/renderer/components/layout/__snapshots__/Centered.test.tsx.snap +++ b/src/renderer/components/layout/__snapshots__/Centered.test.tsx.snap @@ -3,25 +3,14 @@ exports[`renderer/components/layout/Centered.tsx > should render itself & its children - full height false 1`] = `
-
-
- Test -
-
+ Test
`; @@ -29,25 +18,14 @@ exports[`renderer/components/layout/Centered.tsx > should render itself & its ch exports[`renderer/components/layout/Centered.tsx > should render itself & its children - full height true 1`] = `
-
-
- Test -
-
+ Test
`; diff --git a/src/renderer/components/layout/__snapshots__/Contents.test.tsx.snap b/src/renderer/components/layout/__snapshots__/Contents.test.tsx.snap index ab71112b9..2b0270a32 100644 --- a/src/renderer/components/layout/__snapshots__/Contents.test.tsx.snap +++ b/src/renderer/components/layout/__snapshots__/Contents.test.tsx.snap @@ -3,20 +3,9 @@ exports[`renderer/components/layout/Contents.tsx > should render itself & its children 1`] = `
-
-
- Test -
-
+ Test
`; diff --git a/src/renderer/components/layout/__snapshots__/EmojiSplash.test.tsx.snap b/src/renderer/components/layout/__snapshots__/EmojiSplash.test.tsx.snap index dbae2b13d..8a97f76fd 100644 --- a/src/renderer/components/layout/__snapshots__/EmojiSplash.test.tsx.snap +++ b/src/renderer/components/layout/__snapshots__/EmojiSplash.test.tsx.snap @@ -3,63 +3,52 @@ exports[`renderer/components/layout/EmojiSplash.tsx > should render itself & its children - heading and sub-heading 1`] = `
-
-
- 🍺 -
-
- Test Heading -
-
-
- Test Sub-Heading -
+ 🍺 +
+
+ Test Heading
+
+ Test Sub-Heading +
@@ -68,56 +57,45 @@ exports[`renderer/components/layout/EmojiSplash.tsx > should render itself & its exports[`renderer/components/layout/EmojiSplash.tsx > should render itself & its children - heading only 1`] = `
+ 🍺 +
+
-
-
- 🍺 -
-
- Test Heading -
-
+ Test Heading
diff --git a/src/renderer/components/layout/__snapshots__/Page.test.tsx.snap b/src/renderer/components/layout/__snapshots__/Page.test.tsx.snap index b483328b0..178855c77 100644 --- a/src/renderer/components/layout/__snapshots__/Page.test.tsx.snap +++ b/src/renderer/components/layout/__snapshots__/Page.test.tsx.snap @@ -3,21 +3,10 @@ exports[`renderer/components/layout/Page.tsx > should render itself & its children 1`] = `
-
-
- Test -
-
+ Test
`; diff --git a/src/renderer/components/metrics/__snapshots__/CommentsPill.test.tsx.snap b/src/renderer/components/metrics/__snapshots__/CommentsPill.test.tsx.snap index 2fb21afe6..d5e2d778f 100644 --- a/src/renderer/components/metrics/__snapshots__/CommentsPill.test.tsx.snap +++ b/src/renderer/components/metrics/__snapshots__/CommentsPill.test.tsx.snap @@ -2,153 +2,118 @@ exports[`renderer/components/metrics/CommentsPill.tsx > renders with 1 comment 1`] = `
-
-
- - -
-
+
+ + +
`; exports[`renderer/components/metrics/CommentsPill.tsx > renders with multiple comments 1`] = `
-
-
- - -
-
-
-`; - -exports[`renderer/components/metrics/CommentsPill.tsx > renders with no comments (null) 1`] = ` -
-
+ + +
`; + +exports[`renderer/components/metrics/CommentsPill.tsx > renders with no comments (null) 1`] = `
`; diff --git a/src/renderer/components/metrics/__snapshots__/LabelsPill.test.tsx.snap b/src/renderer/components/metrics/__snapshots__/LabelsPill.test.tsx.snap index 994ed52ba..3d57d29ca 100644 --- a/src/renderer/components/metrics/__snapshots__/LabelsPill.test.tsx.snap +++ b/src/renderer/components/metrics/__snapshots__/LabelsPill.test.tsx.snap @@ -2,121 +2,97 @@ exports[`renderer/components/metrics/LabelsPill.tsx > renders with labels 1`] = `
-
-
-
+ + +
-
+ + good-first-issue + + + + +
`; -exports[`renderer/components/metrics/LabelsPill.tsx > renders without labels 1`] = ` -
-
-
-
-
-`; +exports[`renderer/components/metrics/LabelsPill.tsx > renders without labels 1`] = `
`; diff --git a/src/renderer/components/metrics/__snapshots__/LinkedIssuesPill.test.tsx.snap b/src/renderer/components/metrics/__snapshots__/LinkedIssuesPill.test.tsx.snap index a96241d07..2ac1a61b6 100644 --- a/src/renderer/components/metrics/__snapshots__/LinkedIssuesPill.test.tsx.snap +++ b/src/renderer/components/metrics/__snapshots__/LinkedIssuesPill.test.tsx.snap @@ -2,159 +2,124 @@ exports[`renderer/components/metrics/LinkedIssuesPill.tsx > renders when linked to multiple issues/prs 1`] = `
-
-
- - -
-
+
+ + +
`; exports[`renderer/components/metrics/LinkedIssuesPill.tsx > renders when linked to one issue/pr 1`] = `
-
-
- - -
-
-
-`; - -exports[`renderer/components/metrics/LinkedIssuesPill.tsx > renders when no linked issues/prs 1`] = ` -
-
+ + +
`; + +exports[`renderer/components/metrics/LinkedIssuesPill.tsx > renders when no linked issues/prs 1`] = `
`; diff --git a/src/renderer/components/metrics/__snapshots__/MetricGroup.test.tsx.snap b/src/renderer/components/metrics/__snapshots__/MetricGroup.test.tsx.snap index 7649bd9d0..19dd79b28 100644 --- a/src/renderer/components/metrics/__snapshots__/MetricGroup.test.tsx.snap +++ b/src/renderer/components/metrics/__snapshots__/MetricGroup.test.tsx.snap @@ -1,142 +1,118 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`renderer/components/metrics/MetricGroup.tsx > should not render any pills when showPills is disabled 1`] = ` -
-
-
-
-
-`; +exports[`renderer/components/metrics/MetricGroup.tsx > should not render any pills when showPills is disabled 1`] = `
`; exports[`renderer/components/metrics/MetricGroup.tsx > should render pills when showPills is enabled 1`] = `
-
-
- - - + + - -
-
+
+ + +
`; diff --git a/src/renderer/components/metrics/__snapshots__/MetricPill.test.tsx.snap b/src/renderer/components/metrics/__snapshots__/MetricPill.test.tsx.snap index 4c7e07b55..0266c6600 100644 --- a/src/renderer/components/metrics/__snapshots__/MetricPill.test.tsx.snap +++ b/src/renderer/components/metrics/__snapshots__/MetricPill.test.tsx.snap @@ -2,133 +2,111 @@ exports[`renderer/components/metrics/MetricPill.tsx > should render with metric 1`] = `
-
-
- - -
-
+
+ + +
`; exports[`renderer/components/metrics/MetricPill.tsx > should render without metric 1`] = `
-
-
- - -
-
+ + +
+ + +
`; diff --git a/src/renderer/components/metrics/__snapshots__/MilestonePill.test.tsx.snap b/src/renderer/components/metrics/__snapshots__/MilestonePill.test.tsx.snap index e72695ded..add54dd78 100644 --- a/src/renderer/components/metrics/__snapshots__/MilestonePill.test.tsx.snap +++ b/src/renderer/components/metrics/__snapshots__/MilestonePill.test.tsx.snap @@ -2,143 +2,108 @@ exports[`renderer/components/metrics/MilestonePill.tsx > renders closed milestone pill 1`] = `
-
-
- - -
-
+ + +
+ + +
`; exports[`renderer/components/metrics/MilestonePill.tsx > renders open milestone pill 1`] = `
-
-
- - -
-
-
-`; - -exports[`renderer/components/metrics/MilestonePill.tsx > renders with no milestone 1`] = ` -
-
+ +
+ + +
`; + +exports[`renderer/components/metrics/MilestonePill.tsx > renders with no milestone 1`] = `
`; diff --git a/src/renderer/components/metrics/__snapshots__/ReactionsPill.test.tsx.snap b/src/renderer/components/metrics/__snapshots__/ReactionsPill.test.tsx.snap index d7a0e55bd..17c41dec9 100644 --- a/src/renderer/components/metrics/__snapshots__/ReactionsPill.test.tsx.snap +++ b/src/renderer/components/metrics/__snapshots__/ReactionsPill.test.tsx.snap @@ -2,307 +2,272 @@ exports[`renderer/components/metrics/ReactionsPill.tsx > renders when multiple reactions 1`] = `
-
-
-
+ + +
-
+ + 😆 2 + + + +
  • + + + 🎉 3 + + +
  • +
  • + + + 😕 5 + + +
  • +
  • + + + 🚀 8 + + +
  • +
  • + + + 👀 13 + + +
  • +
  • + + + ❤️ 21 + + +
  • + +
    `; exports[`renderer/components/metrics/ReactionsPill.tsx > renders when one reaction 1`] = `
    -
    -
    -
    + + +
    -
    + + +
    `; -exports[`renderer/components/metrics/ReactionsPill.tsx > renders with no reactions 1`] = ` -
    -
    -
    -
    -
    -`; +exports[`renderer/components/metrics/ReactionsPill.tsx > renders with no reactions 1`] = `
    `; diff --git a/src/renderer/components/metrics/__snapshots__/ReviewsPill.test.tsx.snap b/src/renderer/components/metrics/__snapshots__/ReviewsPill.test.tsx.snap index 524f76e9b..14e29f23f 100644 --- a/src/renderer/components/metrics/__snapshots__/ReviewsPill.test.tsx.snap +++ b/src/renderer/components/metrics/__snapshots__/ReviewsPill.test.tsx.snap @@ -1,138 +1,114 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`renderer/components/metrics/ReviewsPill.tsx > renders nothing when no reviews 1`] = ` -
    -
    -
    -
    -
    -`; +exports[`renderer/components/metrics/ReviewsPill.tsx > renders nothing when no reviews 1`] = `
    `; exports[`renderer/components/metrics/ReviewsPill.tsx > renders review pills when reviews exist 1`] = `
    -
    -
    - - - + + - -
    -
    +
    + + +
    `; diff --git a/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap index 11c50885c..5c6dae8ad 100644 --- a/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap +++ b/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap @@ -3,242 +3,231 @@ exports[`renderer/components/notifications/AccountNotifications.tsx > should render itself - account error for multiple accounts 1`] = `
    +
    +
    -
    -
    - 🔥 -
    -
    - Error title -
    -
    -
    - Error description -
    + 🔥
    +
    + Error title +
    +
    +
    + Error description
    @@ -248,1383 +237,493 @@ exports[`renderer/components/notifications/AccountNotifications.tsx > should ren exports[`renderer/components/notifications/AccountNotifications.tsx > should render itself - account error for single account 1`] = `
    -
    -`; - -exports[`renderer/components/notifications/AccountNotifications.tsx > should render itself - group notifications by date 1`] = ` -
    -
    -
    - -
    -
    - - -
    -
    -
    - -
    - 123 -
    -
    -
    -
    - - - I am a robot and this is a test! - - - -
    -
    - -
    - - Updated - - - May 20, 2017 - -
    -
    - - - - -
    -
    -
    -
    -
    - - - -
    -
    -
    -
    - - -
    -
    -
    - -
    - 456 -
    -
    -
    -
    - - - Improve the UI - - - -
    -
    -
    - -
    -
    - - Authored - - - May 20, 2017 - -
    -
    + @octocat
    + + + + +  ( + 0 + ) + + + + + +
    +
    +
    +
    +
    + 🔥 +
    +
    + Error title
    -
    - - - -
    -
    -
    -
    -
    -`; - -exports[`renderer/components/notifications/AccountNotifications.tsx > should render itself - group notifications by repositories 1`] = ` -
    -
    -
    - -
    - RepositoryNotifications +
    + Error description
    `; -exports[`renderer/components/notifications/AccountNotifications.tsx > should render itself - no notifications 1`] = ` +exports[`renderer/components/notifications/AccountNotifications.tsx > should render itself - group notifications by date 1`] = `
    +
    + + +
    +
    + - - -  ( - 0 - ) - + I am a robot and this is a test! - + +
    -
    -
    -
    -
    -
    - 🎉 -
    -
    + - No new notifications -
    + May 20, 2017 + +
    +
    + + + +
    +
    + + + +
    -
    -`; - -exports[`renderer/components/notifications/AccountNotifications.tsx > should toggle account notifications visibility 1`] = ` -
    + + +
    +
    + - - -  ( - 2 - ) - + Improve the UI - + +
    +
    +
    + + + +
    +
    +
    +`; + +exports[`renderer/components/notifications/AccountNotifications.tsx > should render itself - group notifications by repositories 1`] = ` +
    + + + + + + + +
    +
    + RepositoryNotifications +
    +
    +`; + +exports[`renderer/components/notifications/AccountNotifications.tsx > should render itself - no notifications 1`] = ` +
    + +
    + + + + +  ( + 0 + ) + + + + + +
    +
    +
    +
    +
    + 🎉 +
    +
    + No new notifications
    -
    - RepositoryNotifications -
    `; + +exports[`renderer/components/notifications/AccountNotifications.tsx > should toggle account notifications visibility 1`] = ` +
    + +
    + RepositoryNotifications +
    +
    +`; diff --git a/src/renderer/components/notifications/__snapshots__/NotificationFooter.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/NotificationFooter.test.tsx.snap index 2a6d2b3d9..936946389 100644 --- a/src/renderer/components/notifications/__snapshots__/NotificationFooter.test.tsx.snap +++ b/src/renderer/components/notifications/__snapshots__/NotificationFooter.test.tsx.snap @@ -3,181 +3,170 @@ exports[`renderer/components/notifications/NotificationFooter.tsx > security alerts should use github icon for avatar > Repository Dependabot Alerts Thread 1`] = `
    -
    + gitify-app +
    + +
    + + Updated + + + May 20, 2017 + +
    +
    + -
    - - Updated - - - May 20, 2017 - -
    -
    - - - + + - -
    -
    +
    + + +
    @@ -186,181 +175,170 @@ exports[`renderer/components/notifications/NotificationFooter.tsx > security ale exports[`renderer/components/notifications/NotificationFooter.tsx > security alerts should use github icon for avatar > Repository Vulnerability Alert 1`] = `
    -
    + gitify-app +
    + +
    + + Updated + + + May 20, 2017 + +
    +
    + -
    - - Updated - - - May 20, 2017 - -
    -
    - - - + + - -
    -
    +
    + + +
    @@ -369,182 +347,171 @@ exports[`renderer/components/notifications/NotificationFooter.tsx > security ale exports[`renderer/components/notifications/NotificationFooter.tsx > should default to known avatar if no user found 1`] = `
    - +
    + + +
    @@ -553,181 +520,170 @@ exports[`renderer/components/notifications/NotificationFooter.tsx > should defau exports[`renderer/components/notifications/NotificationFooter.tsx > should render itself & its children 1`] = `
    -
    + gitify-app +
    + +
    + + Updated + + + May 20, 2017 + +
    +
    + -
    - - Updated - - - May 20, 2017 - -
    -
    - - - + + - -
    -
    +
    + + +
    diff --git a/src/renderer/components/notifications/__snapshots__/NotificationHeader.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/NotificationHeader.test.tsx.snap index 56705894c..913677afd 100644 --- a/src/renderer/components/notifications/__snapshots__/NotificationHeader.test.tsx.snap +++ b/src/renderer/components/notifications/__snapshots__/NotificationHeader.test.tsx.snap @@ -3,16 +3,22 @@ exports[`renderer/components/notifications/NotificationHeader.tsx > should render itself & its children - group by date > with notification number 1`] = `
    -
    should rende data-gap="condensed" data-justify="start" data-padding="none" + data-testid="avatar" data-wrap="nowrap" > - + gitify-app/notifications-test
    - 123 + gitify-app/notifications-test
    + +
    + 123
    @@ -73,16 +62,22 @@ exports[`renderer/components/notifications/NotificationHeader.tsx > should rende exports[`renderer/components/notifications/NotificationHeader.tsx > should render itself & its children - group by date > with showNumber setting disabled 1`] = `
    -
    should rende data-gap="condensed" data-justify="start" data-padding="none" + data-testid="avatar" data-wrap="nowrap" > - + gitify-app/notifications-test
    + +
    @@ -143,16 +121,22 @@ exports[`renderer/components/notifications/NotificationHeader.tsx > should rende exports[`renderer/components/notifications/NotificationHeader.tsx > should render itself & its children - group by date > without notification number 1`] = `
    -
    should rende data-gap="condensed" data-justify="start" data-padding="none" + data-testid="avatar" data-wrap="nowrap" > - + gitify-app/notifications-test
    - 123 + gitify-app/notifications-test
    + +
    + 123
    `; -exports[`renderer/components/notifications/NotificationHeader.tsx > should render itself & its children - group by repositories 1`] = ` -
    -
    -
    -
    -
    -`; +exports[`renderer/components/notifications/NotificationHeader.tsx > should render itself & its children - group by repositories 1`] = `
    `; diff --git a/src/renderer/components/notifications/__snapshots__/NotificationRow.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/NotificationRow.test.tsx.snap index 540c9d94f..4ccec3a9d 100644 --- a/src/renderer/components/notifications/__snapshots__/NotificationRow.test.tsx.snap +++ b/src/renderer/components/notifications/__snapshots__/NotificationRow.test.tsx.snap @@ -3,73 +3,79 @@ exports[`renderer/components/notifications/NotificationRow.tsx > should render itself & its children - group by date 1`] = `
    + +
    - -
    -
    should render i data-gap="condensed" data-justify="start" data-padding="none" + data-testid="avatar" data-wrap="nowrap" > - + gitify-app/notifications-test
    - 123 + gitify-app/notifications-test
    -
    +
    - - - I am a robot and this is a test! - - - + 123
    +
    +
    +
    + + + I am a robot and this is a test! + + + +
    +
    +
    + +
    + + Updated + + + May 20, 2017 + +
    +
    + -
    - - Updated - - - May 20, 2017 - -
    -
    - - - - -
    -
    -
    -
    -
    - +
    +
    + + + +
    `; @@ -423,365 +412,354 @@ exports[`renderer/components/notifications/NotificationRow.tsx > should render i exports[`renderer/components/notifications/NotificationRow.tsx > should render itself & its children - group by repositories 1`] = `
    + +
    + + + I am a robot and this is a test! + + + + 123 + +
    +
    -
    -
    - - - I am a robot and this is a test! - - - - 123 - -
    -
    + -
    +
    + -
    - - Updated - - - May 20, 2017 - -
    -
    - - - - -
    -
    -
    -
    -
    - +
    +
    + + + +
    `; @@ -789,365 +767,354 @@ exports[`renderer/components/notifications/NotificationRow.tsx > should render i exports[`renderer/components/notifications/NotificationRow.tsx > should render itself & its children - hide numbers 1`] = `
    + +
    + + + I am a robot and this is a test! + + + +
    +
    -
    -
    + Updated + + + May 20, 2017 + +
    +
    +
    -
    -
    +
    -
    -
    -
    - - - + +
    +
    + + + +
    `; @@ -1155,307 +1122,296 @@ exports[`renderer/components/notifications/NotificationRow.tsx > should render i exports[`renderer/components/notifications/NotificationRow.tsx > should render itself & its children - notification is read 1`] = `
    + +
    + + + I am a robot and this is a test! + + + + 123 + +
    +
    -
    -
    + Updated + + + May 20, 2017 + +
    +
    +
    -
    -
    +
    -
    -
    -
    - + +
    +
    + +
    `; diff --git a/src/renderer/components/notifications/__snapshots__/NotificationTitle.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/NotificationTitle.test.tsx.snap index 3e95ceff5..a673ed09f 100644 --- a/src/renderer/components/notifications/__snapshots__/NotificationTitle.test.tsx.snap +++ b/src/renderer/components/notifications/__snapshots__/NotificationTitle.test.tsx.snap @@ -2,220 +2,143 @@ exports[`renderer/components/notifications/NotificationTitle.tsx > should apply truncate className when wrapNotificationTitle is false 1`] = `
    -
    -
    - - - refactor: migrate deprecated atlaskit - - - xcss - - -
    -
    + + refactor: migrate deprecated atlaskit + + + xcss + +
    `; exports[`renderer/components/notifications/NotificationTitle.tsx > should not apply truncate className when wrapNotificationTitle is true 1`] = `
    -
    -
    - - - refactor: migrate deprecated atlaskit - - - xcss - - -
    -
    + + refactor: migrate deprecated atlaskit + + + xcss + +
    `; exports[`renderer/components/notifications/NotificationTitle.tsx > should render plain text without code blocks 1`] = `
    -
    -
    - - - Simple notification title - - -
    -
    + + Simple notification title + +
    `; exports[`renderer/components/notifications/NotificationTitle.tsx > should render text with code block at the end 1`] = `
    -
    -
    - - - Fix issue with - - - render - - -
    -
    + + Fix issue with + + + render + +
    `; exports[`renderer/components/notifications/NotificationTitle.tsx > should render text with code block at the start 1`] = `
    -
    -
    - - - useState - - - hook implementation - - -
    -
    + + useState + + + hook implementation + +
    `; exports[`renderer/components/notifications/NotificationTitle.tsx > should render text with multiple inline code blocks 1`] = `
    -
    -
    - - - Replace - - - foo - - - with - - - bar - - - in config - - -
    -
    + + Replace + + + foo + + + with + + + bar + + + in config + +
    `; exports[`renderer/components/notifications/NotificationTitle.tsx > should render text with single inline code block 1`] = `
    -
    -
    - - - refactor: migrate deprecated atlaskit - - - xcss - - -
    -
    + + refactor: migrate deprecated atlaskit + + + xcss + +
    `; diff --git a/src/renderer/components/notifications/__snapshots__/RepositoryNotifications.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/RepositoryNotifications.test.tsx.snap index 88a88f16e..0525bfe64 100644 --- a/src/renderer/components/notifications/__snapshots__/RepositoryNotifications.test.tsx.snap +++ b/src/renderer/components/notifications/__snapshots__/RepositoryNotifications.test.tsx.snap @@ -3,751 +3,707 @@ exports[`renderer/components/notifications/RepositoryNotifications.tsx > should render itself & its children - all notifications are read 1`] = `
    -
    -
    - -
    +
    + + - -
    -
    -
    - NotificationRow -
    -
    - NotificationRow -
    + 2 + + +  ( + 2 + ) + + + + +
    +
    +
    + NotificationRow +
    +
    + NotificationRow +
    `; exports[`renderer/components/notifications/RepositoryNotifications.tsx > should render itself & its children 1`] = `
    -
    -
    - -
    +
    + + - - - -
    -
    -
    - NotificationRow -
    -
    - NotificationRow -
    +  ( + 2 + ) + + + + +
    + + +
    +
    + NotificationRow +
    +
    + NotificationRow +
    `; exports[`renderer/components/notifications/RepositoryNotifications.tsx > should toggle repository notifications visibility 1`] = `
    -
    -
    - -
    - - -
    + + +
    -
    -
    - NotificationRow -
    -
    - NotificationRow -
    + 2 + + +  ( + 2 + ) + + + + +
    + + +
    +
    + NotificationRow +
    +
    + NotificationRow +
    `; exports[`renderer/components/notifications/RepositoryNotifications.tsx > should use default repository icon when avatar is not available 1`] = `
    -
    -
    - -
    - - -
    + + +
    -
    -
    - NotificationRow -
    -
    - NotificationRow -
    + 2 + + +  ( + 2 + ) + + + + +
    + + +
    +
    + NotificationRow +
    +
    + NotificationRow +
    `; diff --git a/src/renderer/components/primitives/__snapshots__/CustomCounter.test.tsx.snap b/src/renderer/components/primitives/__snapshots__/CustomCounter.test.tsx.snap index e56090903..e8cdf1ba6 100644 --- a/src/renderer/components/primitives/__snapshots__/CustomCounter.test.tsx.snap +++ b/src/renderer/components/primitives/__snapshots__/CustomCounter.test.tsx.snap @@ -2,21 +2,10 @@ exports[`renderer/components/primitives/CustomCounter.tsx > should render itself & its children 1`] = `
    -
    -
    - - 100 - -
    -
    + 100 +
    `; diff --git a/src/renderer/components/primitives/__snapshots__/EmojiText.test.tsx.snap b/src/renderer/components/primitives/__snapshots__/EmojiText.test.tsx.snap index cae4b1bc4..2a950bd71 100644 --- a/src/renderer/components/primitives/__snapshots__/EmojiText.test.tsx.snap +++ b/src/renderer/components/primitives/__snapshots__/EmojiText.test.tsx.snap @@ -3,25 +3,14 @@ exports[`renderer/components/primitives/EmojiText.tsx > should render 1`] = `
    -
    -
    - 🍺 -
    -
    + 🍺
    `; diff --git a/src/renderer/components/primitives/__snapshots__/Footer.test.tsx.snap b/src/renderer/components/primitives/__snapshots__/Footer.test.tsx.snap index dda0fc622..e29b47e73 100644 --- a/src/renderer/components/primitives/__snapshots__/Footer.test.tsx.snap +++ b/src/renderer/components/primitives/__snapshots__/Footer.test.tsx.snap @@ -3,28 +3,17 @@ exports[`renderer/components/primitives/Footer.tsx > should render itself & its children - end 1`] = `
    @@ -33,28 +22,17 @@ exports[`renderer/components/primitives/Footer.tsx > should render itself & its exports[`renderer/components/primitives/Footer.tsx > should render itself & its children - space-between 1`] = `
    diff --git a/src/renderer/components/primitives/__snapshots__/Header.test.tsx.snap b/src/renderer/components/primitives/__snapshots__/Header.test.tsx.snap index 5bf8e1381..c1757d190 100644 --- a/src/renderer/components/primitives/__snapshots__/Header.test.tsx.snap +++ b/src/renderer/components/primitives/__snapshots__/Header.test.tsx.snap @@ -3,39 +3,61 @@ exports[`renderer/components/primitives/Header.tsx > should render itself & its children 1`] = `
    -
    + + +
    - - -
    -
    - -

    - Test Header -

    -
    -
    -
    + Test Header + +
    -
    +
    diff --git a/src/renderer/components/primitives/__snapshots__/HoverButton.test.tsx.snap b/src/renderer/components/primitives/__snapshots__/HoverButton.test.tsx.snap index 573a77b77..178efbac8 100644 --- a/src/renderer/components/primitives/__snapshots__/HoverButton.test.tsx.snap +++ b/src/renderer/components/primitives/__snapshots__/HoverButton.test.tsx.snap @@ -1,61 +1,37 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`renderer/components/primitives/HoverButton.tsx > should render - disabled 1`] = ` -
    -
    -
    -
    -
    -`; +exports[`renderer/components/primitives/HoverButton.tsx > should render - disabled 1`] = `
    `; exports[`renderer/components/primitives/HoverButton.tsx > should render 1`] = `
    -
    - -
    + + +
    `; diff --git a/src/renderer/components/primitives/__snapshots__/HoverGroup.test.tsx.snap b/src/renderer/components/primitives/__snapshots__/HoverGroup.test.tsx.snap index 5ed381a87..c4ad13372 100644 --- a/src/renderer/components/primitives/__snapshots__/HoverGroup.test.tsx.snap +++ b/src/renderer/components/primitives/__snapshots__/HoverGroup.test.tsx.snap @@ -3,26 +3,15 @@ exports[`renderer/components/primitives/HoverGroup.tsx > should render 1`] = `
    -
    -
    - Hover Group -
    -
    + Hover Group
    `; diff --git a/src/renderer/components/primitives/__snapshots__/Title.test.tsx.snap b/src/renderer/components/primitives/__snapshots__/Title.test.tsx.snap index d50714279..e0abd5fea 100644 --- a/src/renderer/components/primitives/__snapshots__/Title.test.tsx.snap +++ b/src/renderer/components/primitives/__snapshots__/Title.test.tsx.snap @@ -2,108 +2,86 @@ exports[`renderer/routes/components/primitives/Title.tsx > should render the title - default size 1`] = `
    -
    +
    - -
    +
    - -

    - Legend -

    -
    -
    -
    + + +

    + Legend +

    +
    -
    +
    `; exports[`renderer/routes/components/primitives/Title.tsx > should render the title - specific size 1`] = `
    -
    +
    - -
    + +

    -
    - -

    - Legend -

    -
    -

    -
    + Legend + +
    -
    +
    `; diff --git a/src/renderer/components/settings/__snapshots__/SettingsFooter.test.tsx.snap b/src/renderer/components/settings/__snapshots__/SettingsFooter.test.tsx.snap index 0de27ee15..aa6bd052e 100644 --- a/src/renderer/components/settings/__snapshots__/SettingsFooter.test.tsx.snap +++ b/src/renderer/components/settings/__snapshots__/SettingsFooter.test.tsx.snap @@ -2,7 +2,7 @@ exports[`renderer/components/settings/SettingsFooter.tsx > should show app version 1`] = ` + - + - -
    -
    + OAuth App + + +
    diff --git a/src/renderer/routes/__snapshots__/LoginWithOAuthApp.test.tsx.snap b/src/renderer/routes/__snapshots__/LoginWithOAuthApp.test.tsx.snap index 07b821fbf..abd136735 100644 --- a/src/renderer/routes/__snapshots__/LoginWithOAuthApp.test.tsx.snap +++ b/src/renderer/routes/__snapshots__/LoginWithOAuthApp.test.tsx.snap @@ -3,43 +3,65 @@ exports[`renderer/routes/LoginWithOAuthApp.tsx > renders correctly 1`] = `
    -
    + + +
    - - -
    -
    - -

    - Login with OAuth App -

    -
    -
    -
    + Login with OAuth App + +
    + +
    +
    +
    +
    +
    + + + + + + + Change only if you are using GitHub Enterprise Server + +
    -
    -
    - - + - - Change only if you are using GitHub Enterprise Server - + Create new OAuth App -
    -
    + + + and use your + + client id & secret + + below. + +
    +
    + + + + +
    +
    + + + + -
    -
    + +
    +
    +
    + -
    + Docs + + + +
    diff --git a/src/renderer/routes/__snapshots__/LoginWithPersonalAccessToken.test.tsx.snap b/src/renderer/routes/__snapshots__/LoginWithPersonalAccessToken.test.tsx.snap index 7075dd2b5..aaafce334 100644 --- a/src/renderer/routes/__snapshots__/LoginWithPersonalAccessToken.test.tsx.snap +++ b/src/renderer/routes/__snapshots__/LoginWithPersonalAccessToken.test.tsx.snap @@ -3,43 +3,65 @@ exports[`renderer/routes/LoginWithPersonalAccessToken.tsx > renders correctly 1`] = `
    -
    + + +
    - - -
    -
    - -

    - Login with Personal Access Token -

    -
    -
    -
    + Login with Personal Access Token + +
    -
    + +
    +
    +
    +
    -
    -
    - - - + + Hostname - - - Change only if you are using GitHub Enterprise Server - + + * -
    -
    -
    - - - on GitHub to paste the token below. - -
    - - The - - - - - will be automatically selected for you. - -
    -
    + + + + + + - - - - - - - - -
    -
    + Change only if you are using GitHub Enterprise Server + +
    + + + +
    +
    +
    + diff --git a/src/renderer/routes/__snapshots__/Notifications.test.tsx.snap b/src/renderer/routes/__snapshots__/Notifications.test.tsx.snap index b9b2581d9..de6f03b76 100644 --- a/src/renderer/routes/__snapshots__/Notifications.test.tsx.snap +++ b/src/renderer/routes/__snapshots__/Notifications.test.tsx.snap @@ -2,152 +2,64 @@ exports[`renderer/routes/Notifications.tsx > should render itself & its children (all read notifications) 1`] = `
    -
    -
    -

    - AllRead -

    -
    -
    +

    + AllRead +

    `; exports[`renderer/routes/Notifications.tsx > should render itself & its children (error conditions - oops) > bad credentials 1`] = `
    -
    -
    -

    - Oops -

    -
    -
    +

    + Oops +

    `; exports[`renderer/routes/Notifications.tsx > should render itself & its children (error conditions - oops) > default error 1`] = `
    -
    -
    -

    - Oops -

    -
    -
    +

    + Oops +

    `; exports[`renderer/routes/Notifications.tsx > should render itself & its children (error conditions - oops) > missing scopes 1`] = `
    -
    -
    -

    - Oops -

    -
    -
    +

    + Oops +

    `; exports[`renderer/routes/Notifications.tsx > should render itself & its children (error conditions - oops) > rate limited 1`] = `
    -
    -
    -

    - Oops -

    -
    -
    +

    + Oops +

    `; exports[`renderer/routes/Notifications.tsx > should render itself & its children (error conditions - oops) > unknown error 1`] = `
    -
    -
    -

    - Oops -

    -
    -
    +

    + Oops +

    `; exports[`renderer/routes/Notifications.tsx > should render itself & its children (show account header) 1`] = `
    -
    -
    -

    - AllRead -

    -
    -
    +

    + AllRead +

    `; exports[`renderer/routes/Notifications.tsx > should render itself & its children (with notifications) 1`] = `
    -
    -
    -

    - AllRead -

    -
    -
    +

    + AllRead +

    `; diff --git a/src/renderer/routes/__snapshots__/Settings.test.tsx.snap b/src/renderer/routes/__snapshots__/Settings.test.tsx.snap index dfea1c5c3..33ebe69ea 100644 --- a/src/renderer/routes/__snapshots__/Settings.test.tsx.snap +++ b/src/renderer/routes/__snapshots__/Settings.test.tsx.snap @@ -2152,7 +2152,7 @@ exports[`renderer/routes/Settings.tsx > should render itself & its children 1`] data-wrap="nowrap" >