Skip to content

[Split #88320] PR 4 - Extract unread marker hooks #89765

@rlinoz

Description

@rlinoz

Goal: Extract useUnreadMarker and useMarkAsRead from ReportActionsList.

Scope:

  • Add src/hooks/useUnreadMarker.ts
  • Add src/hooks/useMarkAsRead.ts
  • Update ReportActionsList.tsx
  • Touch shouldDisplayNewMarkerOnReportAction.ts if the signature changes
  • Add hook unit tests

Risk: Medium. Marker behavior is visible to users.

Depends on: #89764

Parent issue: #88320
Source plan: #88320 (comment)

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