Skip to content

Push remaining PureReportActionItem subscriptions into leaf components #89164

@cristipaval

Description

@cristipaval

Problem

After the branch extractions from #87157, a plain ADD_COMMENT report action cell still carries 22 Onyx subscriptions at the PureReportActionItem level — many of which are only consumed by specialty branches (approval flows, whispers, trip previews, etc.).

Proposed fix

Move 6 remaining subscriptions (reportMetadata, personalPolicyID, parentReport, childReport, policy, CONCIERGE_REPORT_ID) from PureReportActionItem into the leaf components that actually use them. Extract WhisperBanner and SearchActionHeader as self-gating components.

Target: 22 → 16 subscriptions per plain ADD_COMMENT cell (~770 fewer subscriptions for a typical 87-item list).

POC: #89107

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