Skip to content

Extract ChatMessageContent from PureReportActionItem #88144

@cristipaval

Description

@cristipaval

Extract the default chat message branch (the big else at the end) from PureReportActionItem into a standalone ChatMessageContent component. This is the most impactful extraction — it moves 3 useOnyx calls, 2 custom hooks, the actionableItemButtons useMemo, moderation state, and 2 context provider useMemos so they only run for actual chat messages.

PR: #88112

Issue OwnerCurrent Issue Owner: @LukasMod

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