From b2094c54196ee1b2f90409aba98f4ab119c80cce Mon Sep 17 00:00:00 2001 From: Clay Delk Date: Wed, 2 Sep 2026 09:54:08 -0400 Subject: [PATCH] refactor(onboarding): simplify AI connection choices Signed-off-by: Clay Delk --- .../onboarding/ui/HarnessConnectionStep.tsx | 16 ++++------------ .../onboarding/ui/OnboardingPreviewApp.tsx | 2 +- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/desktop/src/features/onboarding/ui/HarnessConnectionStep.tsx b/desktop/src/features/onboarding/ui/HarnessConnectionStep.tsx index e3634ad5f5..fa103b20bb 100644 --- a/desktop/src/features/onboarding/ui/HarnessConnectionStep.tsx +++ b/desktop/src/features/onboarding/ui/HarnessConnectionStep.tsx @@ -307,21 +307,16 @@ export function HarnessConnectionPreview({ const CONNECTION_METHOD_CHOICES = [ { - description: - "Simpler setup — use the harness and models included with your AI subscription", icon: CreditCard, label: "Log in with a subscription", method: "subscription", }, { - description: - "More flexibility — choose a compatible harness, provider, and model", icon: KeyRound, label: "Use an API key", method: "api", }, ] as const satisfies ReadonlyArray<{ - description: string; icon: React.ComponentType<{ className?: string }>; label: string; method: HarnessConnectionMethod; @@ -363,25 +358,22 @@ export function HarnessConnectionMethodPreview({
{CONNECTION_METHOD_CHOICES.map( - ({ description, icon: MethodIcon, label, method }) => ( + ({ icon: MethodIcon, label, method }) => ( ) : (