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: open home app instead of timeline after onboarding

Louis Beaumont5512873e3463
diff --git a/apps/screenpipe-app-tauri/app/onboarding/page.tsx b/apps/screenpipe-app-tauri/app/onboarding/page.tsx
index a1c3ad715..bcfac2f84 100644
--- a/apps/screenpipe-app-tauri/app/onboarding/page.tsx
+++ b/apps/screenpipe-app-tauri/app/onboarding/page.tsx
@@ -93,7 +93,7 @@ export default function OnboardingPage() {
useEffect(() => {
if (onboardingData.isCompleted) {
commands
- .showWindow("Main")
+ .showWindow({ Home: { page: null } })
.then(() => window.close())
.catch(() => {});
}
diff --git a/apps/screenpipe-app-tauri/components/onboarding/pick-pipe.tsx b/apps/screenpipe-app-tauri/components/onboarding/pick-pipe.tsx
index ebb975c93..dac0f9c0d 100644
--- a/apps/screenpipe-app-tauri/components/onboarding/pick-pipe.tsx
+++ b/apps/screenpipe-app-tauri/components/onboarding/pick-pipe.tsx
@@ -96,8 +96,8 @@ export default function PickPipe() {
});
} catch {}
- // Show Main window and close onboarding
- await commands.showWindow("Main");
+ // Show Home window and close onboarding
+ await commands.showWindow({ Home: { page: null } });
try { window.close(); } catch {}
} catch (err) {
console.error("failed to enable pipe:", err);
@@ -124,7 +124,7 @@ export default function PickPipe() {
console.error("failed to schedule notification:", e);
}
try {
- await commands.showWindow("Main");
+ await commands.showWindow({ Home: { page: null } });
window.close();
} catch {
/* ignore */