Skip to content

[Due for payment 2026-07-07] chore: log Search skeleton conditions when it stays past 5s #94801

Description

@mountiny

Problem

When a user reports a long Search/Reports loading skeleton, the existing [Search] Showing skeleton log fires the moment the skeleton appears and does not capture which of the many interdependent conditions is still holding it (data not loaded, search still loading, errors, card feeds loading, heavy-work defer, etc.). That makes it hard to diagnose slow-load repros without guessing.

Solution

Add a diagnostic hook, useStuckSkeletonLog, that logs a one-off snapshot of all skeleton conditions if the skeleton stays visible past 5 seconds. This is diagnostic only and changes no rendering or behavior, so the next slow-load repro shows exactly which condition is stuck for that user.

PR

#94697

Issue OwnerCurrent Issue Owner: @BartekObudzinski

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

DailyKSv2InternalRequires API changes or must be handled by Expensify staffTask

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions