From e47e722e27251f1eb9b446d3329cf8955a6ce6b4 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sat, 21 Feb 2026 02:28:26 +0100 Subject: [PATCH 1/5] feat: decouple fast switching from scraper authentication to make cooldown tracking optional --- frontend/src/pages/Dashboard.tsx | 38 +++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index 8ec0377..d124445 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -490,17 +490,43 @@ const AccountRow: React.FC<{ )} - - {account?.steamLoginSecure ? ( + + {/* Fast Switcher Button - Always available if we have a login name */} + {account.loginName && ( - ) : ( - )} + + {/* Scraper Auth Button - Controls the optional cooldown tracking */} + + + {account.steamLoginSecure ? : } + + + + + (window as any).electronAPI.openExternal(account?.profileUrl || '')}> onDelete(account?._id || '')}> -- 2.49.1 From 7d49209c0b1320794f4608c7c7a026c66e32d399 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sat, 21 Feb 2026 02:30:52 +0100 Subject: [PATCH 2/5] feat: implement smart scraper authentication with cookie persistence and visual status indicators --- frontend/electron/main.ts | 3 ++- frontend/src/pages/Dashboard.tsx | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/frontend/electron/main.ts b/frontend/electron/main.ts index f61e378..a009e28 100644 --- a/frontend/electron/main.ts +++ b/frontend/electron/main.ts @@ -495,7 +495,8 @@ ipcMain.handle('open-external', (event, url: string) => shell.openExternal(url)) ipcMain.handle('open-steam-login', async (event, expectedSteamId: string) => { const loginSession = session.fromPartition('persist:steam-login'); - await loginSession.clearStorageData({ storages: ['cookies', 'localstorage', 'indexdb'] }); + // Removed: automatic clearStorageData to allow cookie persistence + return new Promise((resolve) => { const loginWindow = new BrowserWindow({ width: 800, height: 700, parent: mainWindow || undefined, modal: true, title: 'Login to Steam', diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index d124445..f80e991 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -510,18 +510,20 @@ const AccountRow: React.FC<{ )} {/* Scraper Auth Button - Controls the optional cooldown tracking */} - + - {account.steamLoginSecure ? : } + {account.steamLoginSecure && !account.authError ? : (account.authError ? : )} -- 2.49.1 From ebed6c078c0f6bc56fc65a19bd554225c36cd411 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sat, 21 Feb 2026 02:32:52 +0100 Subject: [PATCH 3/5] design: improve authenticated status visibility with Verified icon and TRACKING label --- frontend/src/pages/Dashboard.tsx | 42 ++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index f80e991..c40c9bf 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -509,22 +509,34 @@ const AccountRow: React.FC<{ )} +import VerifiedUserIcon from '@mui/icons-material/VerifiedUser'; + +// ... (inside AccountRow) + {/* Scraper Auth Button - Controls the optional cooldown tracking */} - - - {account.steamLoginSecure && !account.authError ? : (account.authError ? : )} - + + + + {account.steamLoginSecure && !account.authError ? : (account.authError ? : )} + + {account.steamLoginSecure && !account.authError && ( + + TRACKING + + )} + -- 2.49.1 From 59244e2b54dfd6a0e0ea1fc9b11967335978365a Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sat, 21 Feb 2026 02:33:23 +0100 Subject: [PATCH 4/5] fix: add missing VerifiedUserIcon import to resolve ReferenceError --- frontend/src/pages/Dashboard.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index c40c9bf..f88643a 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -24,6 +24,7 @@ import PublicIcon from '@mui/icons-material/Public'; import ShieldIcon from '@mui/icons-material/Shield'; import GppBadIcon from '@mui/icons-material/GppBad'; import PeopleIcon from '@mui/icons-material/People'; +import VerifiedUserIcon from '@mui/icons-material/VerifiedUser'; import { useAccounts, type Account } from '../hooks/useAccounts'; import { useAppTheme } from '../theme/ThemeContext'; import type { ThemeType } from '../theme/SteamTheme'; -- 2.49.1 From 0b1bd727e6fc5462f6593c9d4d098adbb458e379 Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Sat, 21 Feb 2026 02:34:33 +0100 Subject: [PATCH 5/5] fix: remove malformed code and redundant imports from Dashboard.tsx --- frontend/src/pages/Dashboard.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Dashboard.tsx index f88643a..5ec57ae 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Dashboard.tsx @@ -510,10 +510,6 @@ const AccountRow: React.FC<{ )} -import VerifiedUserIcon from '@mui/icons-material/VerifiedUser'; - -// ... (inside AccountRow) - {/* Scraper Auth Button - Controls the optional cooldown tracking */} -- 2.49.1