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:
@@ -571,13 +571,15 @@ export function OnboardingWizard() {
|
|||||||
value: "claude_local" as const,
|
value: "claude_local" as const,
|
||||||
label: "Claude Code",
|
label: "Claude Code",
|
||||||
icon: Sparkles,
|
icon: Sparkles,
|
||||||
desc: "Local Claude agent"
|
desc: "Local Claude agent",
|
||||||
|
recommended: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "codex_local" as const,
|
value: "codex_local" as const,
|
||||||
label: "Codex",
|
label: "Codex",
|
||||||
icon: Code,
|
icon: Code,
|
||||||
desc: "Local Codex agent"
|
desc: "Local Codex agent",
|
||||||
|
recommended: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: "opencode_local" as const,
|
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" />
|
<opt.icon className="h-4 w-4" />
|
||||||
<span className="font-medium">{opt.label}</span>
|
<span className="font-medium">{opt.label}</span>
|
||||||
<span className="text-muted-foreground text-[10px]">
|
<span className="text-muted-foreground text-[10px]">
|
||||||
|
|||||||
Reference in New Issue
Block a user