Part of
#89946 — OptionRowLHN compound component decomposition
Step
8 of 12 — depends on #89947 (Provider + context interface).
What
Extract OptionRow.OnboardingBadge into src/components/LHNOptionsList/OnboardingBadge.tsx.
Contains:
FreeTrial badge rendering
isChatUsedForOnboarding guard
- Reads
isChatUsedForOnboarding from RowContext; renders nothing when the guard is false
Why
The onboarding badge is an optional decoration on the title row and should not live inline in the title or the main component.
Acceptance criteria
FreeTrial badge and its isChatUsedForOnboarding guard live only in OnboardingBadge.tsx
- No visible behavior or style changes
Issue Owner
Current Issue Owner: @DylanDylann
Part of
#89946 — OptionRowLHN compound component decomposition
Step
8 of 12 — depends on #89947 (Provider + context interface).
What
Extract
OptionRow.OnboardingBadgeintosrc/components/LHNOptionsList/OnboardingBadge.tsx.Contains:
FreeTrialbadge renderingisChatUsedForOnboardingguardisChatUsedForOnboardingfromRowContext; renders nothing when the guard is falseWhy
The onboarding badge is an optional decoration on the title row and should not live inline in the title or the main component.
Acceptance criteria
FreeTrialbadge and itsisChatUsedForOnboardingguard live only inOnboardingBadge.tsxIssue Owner
Current Issue Owner: @DylanDylann