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 Owner
Current Issue Owner: @DylanDylann
Part of
#89946 — OptionRowLHN compound component decomposition
Step
5 of 12 — depends on #89947 (Provider + context interface).
What
Extract
OptionRow.Titleintosrc/components/LHNOptionsList/Title.tsx.Contains:
DisplayNameswithfullTitle,displayNamesWithTooltips,shouldParseFullTitle,shouldUseFullTitlelogicdisplayNameStylederivation (bold/unread text style based onshouldUseBoldText)testIDthreadingReads 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
shouldParseFullTitleandshouldUseFullTitlelogic lives only inTitle.tsxdisplayNameStylederivation removed fromOptionRowLHN.tsxIssue Owner
Current Issue Owner: @DylanDylann