Skip to content

[No QA] refactor: OptionRowLHN — Status subcomponent #89953

@mountiny

Description

@mountiny

Part of

#89946 — OptionRowLHN compound component decomposition

Step

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

What

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

Contains:

  • Status emoji display (emojiCode, statusText)
  • Tooltip wrapping the emoji code
  • statusClearAfterDate / formattedDate derivation via DateUtils.getStatusUntilDate
  • statusContent string composition
  • isStatusVisible guard (isOneOnOneChat check)
  • Reads all required data from RowContext

Why

Status emoji + date formatting is a well-scoped concern that involves non-trivial date logic worth isolating.

Acceptance criteria

  • Date formatting and isStatusVisible logic lives only in Status.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