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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: unconditional 20s auto-advance past status screen
Louis Beaumont9464fdc9e234
diff --git a/apps/screenpipe-app-tauri/components/onboarding/status.tsx b/apps/screenpipe-app-tauri/components/onboarding/status.tsxindex ac09bbc9b..14b559376 100644--- a/apps/screenpipe-app-tauri/components/onboarding/status.tsx+++ b/apps/screenpipe-app-tauri/components/onboarding/status.tsx@@ -120,7 +120,7 @@ const OnboardingStatus: React.FC<OnboardingStatusProps> = ({return () => clearInterval(interval);}, [setupState]);- // Auto-advance to shortcut gate when recording starts OR engine has been running 15s+ // Auto-advance to shortcut gate when recording startsuseEffect(() => {if (setupState === "recording" && !hasAdvancedRef.current) {hasAdvancedRef.current = true;@@ -136,17 +136,32 @@ const OnboardingStatus: React.FC<OnboardingStatusProps> = ({}}, [setupState]);- // If engine is started but subsystems are slow (model loading), advance after 15s+ // Unconditional auto-advance: move to shortcut gate after 20s max+ // regardless of server state. Server boots in background. Don't let+ // backend issues kill 29% of the funnel.+ const statusScreenEnteredRef = useRef<number | null>(null);useEffect(() => {- if (!progress.serverStarted || hasAdvancedRef.current) return;+ if ((setupState === "starting" || setupState === "ready") && !statusScreenEnteredRef.current) {+ statusScreenEnteredRef.current = Date.now();+ }+ if (!statusScreenEnteredRef.current || hasAdvancedRef.current) return;+ if (setupState !== "starting" && setupState !== "ready") return;+const timer = setTimeout(() => {if (!hasAdvancedRef.current) {hasAdvancedRef.current = true;+ posthog.capture("onboarding_auto_advanced", {+ reason: "timeout_20s",+ server_started: progress.serverStarted,+ audio_ready: progress.audioReady,+ vision_ready: progress.visionReady,+ time_spent_ms: Date.now() - mountTimeRef.current,+ });handleNextSlide();}- }, 15000);+ }, 20000);return () => clearTimeout(timer);- }, [progress.serverStarted]);+ }, [setupState, progress.serverStarted]);const sendLogs = async () => {setIsSendingLogs(true);