Skip to content

[No QA] refactor: OptionRowLHN — Title subcomponent #89951

@mountiny

Description

@mountiny

Part of

#89946 — OptionRowLHN compound component decomposition

Step

5 of 12 — depends on #89947 (Provider + context interface).

What

Extract OptionRow.Title into src/components/LHNOptionsList/Title.tsx.

Contains:

  • DisplayNames with fullTitle, displayNamesWithTooltips, shouldParseFullTitle, shouldUseFullTitle logic
  • displayNameStyle derivation (bold/unread text style based on shouldUseBoldText)
  • testID threading

Reads all required data from RowContext; no props beyond optional style overrides.

Why

Title rendering and its associated bold/unread style logic is a self-contained concern.

Acceptance criteria

  • shouldParseFullTitle and shouldUseFullTitle logic lives only in Title.tsx
  • displayNameStyle derivation removed from OptionRowLHN.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