fix(desktop): allow skipping harness setup onboarding (#2360)

Signed-off-by: Taksh <takshkothari09@gmail.com>
This commit is contained in:
Taksh Kothari
2026-07-23 08:34:39 -07:00
committed by GitHub
parent 03f645ef7e
commit 06e3d82b04
2 changed files with 18 additions and 1 deletions
@@ -215,7 +215,14 @@ export function MachineOnboardingFlow({
back: () =>
setPage(identityWasImported ? "key-import" : "backup"),
next: (runtimeIds) => {
setReadyRuntimeIds(Array.from(runtimeIds));
const ids = Array.from(runtimeIds);
setReadyRuntimeIds(ids);
// Harness install can fail (Windows/PATH/network). Don't soft-lock
// onboarding — users can finish setup later in Settings → Agents.
if (ids.length === 0) {
complete(selectedPubkey ?? undefined);
return;
}
setPage("config");
},
}}
@@ -687,6 +687,16 @@ function SetupStepContent({
Next
</Button>
<Button
className="h-9 rounded-full bg-foreground/10 px-6 text-sm hover:bg-foreground/15"
data-testid="onboarding-setup-skip"
onClick={() => actions.next([])}
type="button"
variant="ghost"
>
Skip for now
</Button>
<Button
className="h-9 rounded-full bg-foreground/10 px-6 text-sm hover:bg-foreground/15"
data-testid="onboarding-back"