Skip to content

Commit 8d57b36

Browse files
committed
Remove signals step to improve conversion
1 parent 469d6fb commit 8d57b36

5 files changed

Lines changed: 4 additions & 237 deletions

File tree

apps/code/src/renderer/features/onboarding/components/CliInstallStep.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,12 @@ export function CliInstallStep({ onNext, onBack }: CliInstallStepProps) {
338338
</Button>
339339
{allReady ? (
340340
<Button size="3" onClick={onNext}>
341-
Continue
341+
Get started
342342
<ArrowRight size={16} weight="bold" />
343343
</Button>
344344
) : (
345345
<Button size="3" variant="outline" color="gray" onClick={onNext}>
346-
Skip for now
346+
Skip & get started
347347
<ArrowRight size={16} weight="bold" />
348348
</Button>
349349
)}

apps/code/src/renderer/features/onboarding/components/OnboardingFlow.tsx

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ import { AnimatePresence, LayoutGroup, motion } from "framer-motion";
1010
import { useHotkeys } from "react-hotkeys-hook";
1111

1212
import { useOnboardingFlow } from "../hooks/useOnboardingFlow";
13-
import { usePrefetchSignalData } from "../hooks/usePrefetchSignalData";
1413
import { CliInstallStep } from "./CliInstallStep";
1514
import { GitIntegrationStep } from "./GitIntegrationStep";
1615
import { InviteCodeStep } from "./InviteCodeStep";
1716
import { ProjectSelectStep } from "./ProjectSelectStep";
18-
import { SignalsStep } from "./SignalsStep";
1917
import { StepIndicator } from "./StepIndicator";
2018
import { WelcomeScreen } from "./WelcomeScreen";
2119

@@ -53,7 +51,6 @@ export function OnboardingFlow() {
5351
const isAuthenticated = useAuthStateValue(
5452
(state) => state.status === "authenticated",
5553
);
56-
usePrefetchSignalData();
5754

5855
useHotkeys("right", next, { enableOnFormTags: false }, [next]);
5956
useHotkeys("left", back, { enableOnFormTags: false }, [back]);
@@ -185,22 +182,7 @@ export function OnboardingFlow() {
185182
transition={{ duration: 0.3 }}
186183
className="min-h-0 w-full flex-1"
187184
>
188-
<CliInstallStep onNext={next} onBack={back} />
189-
</motion.div>
190-
)}
191-
192-
{currentStep === "signals" && (
193-
<motion.div
194-
key="signals"
195-
custom={direction}
196-
initial="enter"
197-
animate="center"
198-
exit="exit"
199-
variants={stepVariants}
200-
transition={{ duration: 0.3 }}
201-
className="min-h-0 w-full flex-1"
202-
>
203-
<SignalsStep onNext={handleComplete} onBack={back} />
185+
<CliInstallStep onNext={handleComplete} onBack={back} />
204186
</motion.div>
205187
)}
206188
</AnimatePresence>

apps/code/src/renderer/features/onboarding/components/SignalsStep.tsx

Lines changed: 0 additions & 158 deletions
This file was deleted.

apps/code/src/renderer/features/onboarding/hooks/usePrefetchSignalData.ts

Lines changed: 0 additions & 55 deletions
This file was deleted.

apps/code/src/renderer/features/onboarding/types.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ export type OnboardingStep =
33
| "project-select"
44
| "invite-code"
55
| "github"
6-
| "install-cli"
7-
| "signals";
6+
| "install-cli";
87

98
export const ONBOARDING_STEPS: OnboardingStep[] = [
109
"welcome",
1110
"project-select",
1211
"invite-code",
1312
"github",
1413
"install-cli",
15-
"signals",
1614
];

0 commit comments

Comments
 (0)