Skip to content

[No QA] refactor: OptionRowLHN — OnboardingBadge subcomponent #89954

@mountiny

Description

@mountiny

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 OwnerCurrent Issue Owner: @DylanDylann

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions