Skip to content

[Due for payment 2026-08-05] feat: derive report-load skeleton gates from the request queue #96486

Description

@mountiny

Problem

The initial report-load skeleton on several report surfaces reads the stored isLoadingInitialReportActions flag. Like other stored loading flags, it is a shadow of the request queue and can be stranded by a reload or dropped response, leaving the skeleton up with no request running.

Solution

Move clean, screen-level consumers onto the queue-derived, per-report useIsReportLoadPending(reportID) hook, which reads whether an OpenReport request for that report is currently in the SequentialQueue. Extend the hook to accept reportID: string | undefined. Migrated: MoneyReportHeaderNextStep, MoneyRequestReportView, ReportFooter. The flag and its writers are untouched for a separate removal PR.

PR

#96395

Issue OwnerCurrent Issue Owner: @mallenexpensify

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2InternalRequires API changes or must be handled by Expensify staffOverdue

Type

No type

Projects

Status
CRITICAL

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions