Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit aa90808

Browse files
fix: Add skip button to onboarding and improve tutorial skip visibility (#1240)
Co-authored-by: littlekirkycode <littlekirky@googlemail.com>
1 parent ed30027 commit aa90808

2 files changed

Lines changed: 26 additions & 18 deletions

File tree

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

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -152,22 +152,36 @@ export function OnboardingFlow() {
152152
currentStep={currentStep}
153153
activeSteps={activeSteps}
154154
/>
155-
<Button
156-
size="1"
157-
variant="ghost"
158-
color="gray"
159-
onClick={logout}
155+
<Flex
156+
justify="between"
160157
style={{
161158
position: "absolute",
162159
bottom: 20,
163160
left: 32,
164-
opacity: 0.5,
161+
right: 32,
165162
zIndex: 2,
166163
}}
167164
>
168-
<SignOut size={14} />
169-
Log out
170-
</Button>
165+
<Button
166+
size="1"
167+
variant="ghost"
168+
color="gray"
169+
onClick={logout}
170+
style={{ opacity: 0.5 }}
171+
>
172+
<SignOut size={14} />
173+
Log out
174+
</Button>
175+
<Button
176+
size="1"
177+
variant="ghost"
178+
color="gray"
179+
onClick={handleComplete}
180+
style={{ opacity: 0.5 }}
181+
>
182+
Skip setup
183+
</Button>
184+
</Flex>
171185
</Flex>
172186
</>
173187
)}

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

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
useRepositoryIntegration,
2222
} from "@hooks/useIntegrations";
2323
import { ArrowLeft } from "@phosphor-icons/react";
24-
import { Button, Flex, Text } from "@radix-ui/themes";
24+
import { Button, Flex } from "@radix-ui/themes";
2525
import { motion } from "framer-motion";
2626
import {
2727
useCallback,
@@ -436,14 +436,8 @@ export function TutorialStep({ onComplete, onBack }: TutorialStepProps) {
436436
<ArrowLeft size={14} />
437437
Back
438438
</Button>
439-
<Button
440-
size="2"
441-
variant="ghost"
442-
color="gray"
443-
onClick={onComplete}
444-
style={{ opacity: 0.7 }}
445-
>
446-
<Text size="1">Skip tutorial</Text>
439+
<Button size="2" variant="ghost" color="gray" onClick={onComplete}>
440+
Skip tutorial
447441
</Button>
448442
</Flex>
449443
</Flex>

0 commit comments

Comments
 (0)