Skip to content

Turn meetings into live agent loops. Record, transcribe, and analyze meetings with real-time AI intelligence — before, during, and after calls.

fix: keep onboarding exits recoverable

Nischay Joshi8dc972ccfdca
diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx
index f711eef..ecc2723 100644
--- a/src/renderer/App.tsx
+++ b/src/renderer/App.tsx
@@ -315,6 +315,14 @@ function PermissionsView({ onContinue }: { onContinue: () => void }) {
>
Continue to setup
</button>
+ <button
+ onClick={handleSkip}
+ className="w-full flex items-center justify-center px-[16px] py-[12px] rounded-[10px] hover:bg-black/5 transition-colors"
+ >
+ <span className="text-[13px] font-medium text-[#464646] tracking-[0.13px] leading-[19.5px]">
+ I&apos;ll configure permissions later
+ </span>
+ </button>
</div>
</div>
diff --git a/src/renderer/components/auth/CalendarSetupView.tsx b/src/renderer/components/auth/CalendarSetupView.tsx
index 0e3157b..8589ee0 100644
--- a/src/renderer/components/auth/CalendarSetupView.tsx
+++ b/src/renderer/components/auth/CalendarSetupView.tsx
@@ -107,7 +107,14 @@ export function CalendarSetupView({ onConnected, onSkip }: CalendarSetupViewProp
}
};
- const handleSkip = () => {
+ const handleSkip = async () => {
+ // Keep an escape hatch available while the OAuth window is open. Closing
+ // that window can race with the invoke response on some Electron/macOS
+ // combinations; signing out explicitly cancels the main-process flow.
+ if (isConnecting) {
+ await window.electronAPI.calendar.signOut().catch(() => undefined);
+ }
+
configStore.completeOnboarding();
onSkip();
};
@@ -211,7 +218,7 @@ export function CalendarSetupView({ onConnected, onSkip }: CalendarSetupViewProp
{/* Skip button */}
<button
onClick={handleSkip}
- disabled={isConnecting || isConnected}
+ disabled={isConnected}
className="w-full flex items-center justify-center px-[16px] py-[12px] rounded-[10px] hover:bg-black/5 transition-colors disabled:opacity-50"
>
<span className="text-[13px] font-medium text-[#464646] tracking-[0.13px] leading-[19.5px]">