Skip to content

[Due for payment 2026-05-20] [No QA] refactor: OptionRowLHN — Title subcomponent #89951

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions