Add green 'Recommended' badge to Claude Code and Codex in onboarding wizard

Shows a green pill badge on the Claude Code and Codex adapter cards
during CEO agent configuration in the onboarding flow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dotta
2026-03-05 06:04:42 -06:00
parent ec0b7daca2
commit 1f57577c54

View File

@@ -571,13 +571,15 @@ export function OnboardingWizard() {
value: "claude_local" as const,
label: "Claude Code",
icon: Sparkles,
desc: "Local Claude agent"
desc: "Local Claude agent",
recommended: true
},
{
value: "codex_local" as const,
label: "Codex",
icon: Code,
desc: "Local Codex agent"
desc: "Local Codex agent",
recommended: true
},
{
value: "opencode_local" as const,
@@ -636,6 +638,11 @@ export function OnboardingWizard() {
}
}}
>
{opt.recommended && (
<span className="absolute -top-1.5 -right-1.5 bg-green-500 text-white text-[9px] font-semibold px-1.5 py-0.5 rounded-full leading-none">
Recommended
</span>
)}
<opt.icon className="h-4 w-4" />
<span className="font-medium">{opt.label}</span>
<span className="text-muted-foreground text-[10px]">