Turn meetings into live agent loops. Record, transcribe, and analyze meetings with real-time AI intelligence — before, during, and after calls.
fix: onboarding flow
Om Gate468e16f9b937
diff --git a/src/renderer/App.tsx b/src/renderer/App.tsxindex f0b263d..43fd5f6 100644--- a/src/renderer/App.tsx+++ b/src/renderer/App.tsx@@ -93,19 +93,8 @@ function PermissionToggle({ enabled, onClick }: { enabled: boolean; onClick?: ());}-// Step indicators for permissions (4 steps)-function PermissionStepIndicators() {- return (- <div className="flex gap-[6px] items-center justify-center">- <div className="w-[24px] h-[6px] bg-[#ec5b16] rounded-[3px]" />- <div className="size-[6px] bg-[#e0e0e8] rounded-[3px]" />- <div className="size-[6px] bg-[#e0e0e8] rounded-[3px]" />- <div className="size-[6px] bg-[#e0e0e8] rounded-[3px]" />- </div>- );-}-function PermissionsView() {+function PermissionsView({ onContinue }: { onContinue: () => void }) {const { status, requestMicPermission, openSettings, checkPermissions } = usePermissions();const configStore = useConfigStore();@@ -113,11 +102,12 @@ function PermissionsView() {const handleContinue = () => {if (allGranted) {- // Move to next step (calendar setup)+ onContinue();}};const handleSkip = () => {+ // Skip entire onboarding - user can configure permissions later from settingsconfigStore.completeOnboarding();};@@ -144,7 +134,7 @@ function PermissionsView() {{/* Step indicators */}<div className="absolute top-[32px] left-1/2 -translate-x-1/2">- <PermissionStepIndicators />+ <StepIndicators currentStep={1} totalSteps={4} /></div>{/* Main content */}@@ -512,7 +502,7 @@ export function App() {const sessionStore = useSessionStore();const meetingSetupStore = useMeetingSetupStore();const { status: sessionStatus, startRecording, stopRecording } = useSession();- const { allGranted, loading: permissionsLoading } = usePermissions();+ const { allGranted, loading: permissionsLoading, checkPermissions } = usePermissions();// Global listener for recorder events - persists during navigationuseGlobalRecorderEvents();@@ -676,7 +666,7 @@ export function App() {// Step 1: Permissionsif (!allGranted && activeTab === 'home') {- return <PermissionsView />;+ return <PermissionsView onContinue={checkPermissions} />;}// Step 2: Calendar setup (only on home tab and during onboarding)diff --git a/src/renderer/components/auth/AuthView.tsx b/src/renderer/components/auth/AuthView.tsxindex 8ea780d..76ff810 100644--- a/src/renderer/components/auth/AuthView.tsx+++ b/src/renderer/components/auth/AuthView.tsx@@ -106,7 +106,7 @@ export function AuthView() {{/* Step indicators */}<div className="absolute top-[32px]">- <StepIndicators currentStep={0} />+ <StepIndicators currentStep={0} totalSteps={4} /></div>{/* Main content */}diff --git a/src/renderer/components/auth/CalendarSetupView.tsx b/src/renderer/components/auth/CalendarSetupView.tsxindex 972a3df..0766ceb 100644--- a/src/renderer/components/auth/CalendarSetupView.tsx+++ b/src/renderer/components/auth/CalendarSetupView.tsx@@ -131,7 +131,7 @@ export function CalendarSetupView({ onConnected, onSkip }: CalendarSetupViewProp{/* Step indicators */}<div className="absolute top-[32px]">- <StepIndicators currentStep={2} />+ <StepIndicators currentStep={2} totalSteps={4} /></div>{/* Main content */}diff --git a/src/renderer/components/auth/RecordingPreferencesView.tsx b/src/renderer/components/auth/RecordingPreferencesView.tsxindex 17edb23..6ed16ab 100644--- a/src/renderer/components/auth/RecordingPreferencesView.tsx+++ b/src/renderer/components/auth/RecordingPreferencesView.tsx@@ -107,7 +107,7 @@ export function RecordingPreferencesView({ onComplete }: RecordingPreferencesVie{/* Step indicators */}<div className="absolute top-[32px]">- <StepIndicators currentStep={2} />+ <StepIndicators currentStep={3} totalSteps={4} /></div>{/* Main content */}