Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: focus settings window after google calendar auth deep link

Louis Beaumontd8721fb82bf8
diff --git a/apps/screenpipe-app-tauri/components/deeplink-handler.tsx b/apps/screenpipe-app-tauri/components/deeplink-handler.tsx
index 5a46d66a8..2c891a0a8 100644
--- a/apps/screenpipe-app-tauri/components/deeplink-handler.tsx
+++ b/apps/screenpipe-app-tauri/components/deeplink-handler.tsx
@@ -70,6 +70,9 @@ export function DeeplinkHandler() {
const success = parsedUrl.searchParams.get("success") === "true";
const error = parsedUrl.searchParams.get("error");
await emit("google-calendar-auth-result", { success, error });
+ // Bring the settings window to the front so the user lands back
+ // where they started (instead of staring at the timeline).
+ await openSettingsWindow();
toast({
title: success
? "google calendar connected!"