From b5bf17a1ea43b21d72b8bd95e4b7a53e90fe4dfc Mon Sep 17 00:00:00 2001 From: Hugh Lilly Date: Thu, 22 Sep 2022 11:52:16 +1200 Subject: [PATCH 1/4] Change action when clicking on GitHub icon Opens GitHub notifcations page instead of Gitify repo (which can be opened by clicking the app's icon) --- src/components/Sidebar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index be3364ff0..895426eab 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -91,8 +91,8 @@ export const Sidebar: React.FC = () => {
From bb2c866e34ec102c90e3d74c968a3cc7357dd376 Mon Sep 17 00:00:00 2001 From: Hugh Lilly Date: Fri, 23 Sep 2022 17:57:28 +1200 Subject: [PATCH 2/4] Sets more appropriate dimensions for `authWindow` --- src/utils/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/auth.ts b/src/utils/auth.ts index f89a7e4c0..3f1d5aad9 100644 --- a/src/utils/auth.ts +++ b/src/utils/auth.ts @@ -12,8 +12,8 @@ export const authGitHub = ( return new Promise((resolve, reject) => { // Build the OAuth consent page URL const authWindow = new BrowserWindow({ - width: 800, - height: 600, + width: 548, + height: 780, show: true, }); From 8a0af5585fbdedb4a06733aba10513764c18338b Mon Sep 17 00:00:00 2001 From: Hugh Lilly Date: Fri, 23 Sep 2022 18:03:11 +1200 Subject: [PATCH 3/4] Revert "Change action when clicking on GitHub icon" This reverts commit b5bf17a1ea43b21d72b8bd95e4b7a53e90fe4dfc. --- src/components/Sidebar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 895426eab..be3364ff0 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -91,8 +91,8 @@ export const Sidebar: React.FC = () => {
From f9bfd9f78f18edc3caa4b88466fe083141dc4e8c Mon Sep 17 00:00:00 2001 From: Hugh Lilly Date: Wed, 26 Oct 2022 12:58:08 +1300 Subject: [PATCH 4/4] Revise window dimensions to 548w x 736l --- src/utils/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/auth.ts b/src/utils/auth.ts index 3f1d5aad9..2c738d976 100644 --- a/src/utils/auth.ts +++ b/src/utils/auth.ts @@ -13,7 +13,7 @@ export const authGitHub = ( // Build the OAuth consent page URL const authWindow = new BrowserWindow({ width: 548, - height: 780, + height: 736, show: true, });