Skip to content

[HOLD for payment 2024-07-22] [Performance] Slow load of one-transaction reports #44162

Closed

Description

@puneetlath

One transaction reports seem to load slower than regular reports or regular transactions. And they have a weird UI while they are loading where the report looks like a one-transaction report, but there is also that same expense attached to the report as a comment.

Let's fix this by fixing the weird UI while loading and making loading faster.

Context here: https://expensify.slack.com/archives/C05LX9D6E07/p1718718047425429?thread_ts=1718652645.370349&cid=C05LX9D6E07

Issue OwnerCurrent Issue Owner: @VictoriaExpensify / @VictoriaExpensify

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Jun 21, 2024
  2. self-assigned this
    on Jun 21, 2024
  3. melvin-bot commented on Jun 21, 2024

    @melvin-bot

    Triggered auto assignment to @VictoriaExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  4. changed the title [-]Slow load of one-transaction reports. [/-] [+]Slow load of one-transaction reports[/+] on Jun 21, 2024
  5. changed the title [-]Slow load of one-transaction reports[/-] [+][Performance][ Slow load of one-transaction reports[/+] on Jun 21, 2024
  6. changed the title [-][Performance][ Slow load of one-transaction reports[/-] [+][Performance]Slow load of one-transaction reports[/+] on Jun 21, 2024
  7. changed the title [-][Performance]Slow load of one-transaction reports[/-] [+][Performance] Slow load of one-transaction reports[/+] on Jun 21, 2024
  8. rinej commented on Jun 21, 2024

    @rinej
    Contributor

    Hello it's Tomek from Callstack, I would like to work on that

  9. rinej commented on Jun 24, 2024

    @rinej
    Contributor

    It looks like there's an error when displaying the ReportAction in ReportActionItem.tsx. Essentially, the app initially renders the previous report and then updates it after it has already been rendered. This issue might be caused by Onyx's optimistic approach, but it seems it could be fixed with a simple condition check. I'm currently investigating this further.

  10. puneetlath commented on Jun 24, 2024

    @puneetlath
    ContributorAuthor

    Ok sounds good!

  11. 23 remaining items

  12. mkhutornyi commented on Jul 24, 2024

    @mkhutornyi
    Contributor

    Regression Test Proposal

    1. Create new Workspace with user A
    2. Invite another member to it - user B
    3. As user A, Go to the Workspace settings > More Features > Enable Workflows
    4. Setup approvals
    5. Set user A as the Approver on the workspace
    6. Log out
    7. Sign in as B
    8. Submit expense in that workspace
    9. Sign in as A and navigate to the chat with B and open the expense report
    10. Navigate back
    11. Open another expense report
    12. Verify that report loads without flickering (no previous report action is seen)
  13. VictoriaExpensify commented on Jul 29, 2024

    @VictoriaExpensify
    Contributor

    @mkhutornyi - I have invited you to accept the Upwork Job. Please let me know once you have accepted it and I'll fix up your payment.

  14. melvin-bot commented on Aug 1, 2024

    @melvin-bot

    @puneetlath, @rinej, @VictoriaExpensify, @mkhutornyi Whoops! This issue is 2 days overdue. Let's get this updated quick!

  15. VictoriaExpensify commented on Aug 1, 2024

    @VictoriaExpensify
    Contributor

    @mkhutornyi - let me know once you've accepted the offer in Upwork :)

  16. melvin-bot commented on Aug 5, 2024

    @melvin-bot

    @puneetlath, @rinej, @VictoriaExpensify, @mkhutornyi Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  17. VictoriaExpensify commented on Aug 5, 2024

    @VictoriaExpensify
    Contributor

    Payment Summary:
    Contributor: @rinej is from an agency-contributor and not due payment
    ROLE: @mkhutornyi paid $250 via [Upwork](Upwork Job)

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions