Skip to content

[$250] Web- User avatar & animation do not load after switching from Inbox to Settings with animation #47041

Closed

Description

@IuliiaHerets

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v9.0.18-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp #46885
Email or phone of affected tester (no customers): applausetester+kh050806@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to Account settings.
  3. Go to any page with animation in the header (Preferences/Security/Troubleshoot/About/Save the world).
  4. Go to Inbox.
  5. Switch back to Account settings.

Expected Result:

User avatar and the animation will load after switching from Inbox to Settings with animation.

Actual Result:

User avatar and the animation do not load after switching from Inbox to Settings with animation.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6565130_1723080112279.20240808_091738.mp4

Add any screenshot/video evidence

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01721123276553a8a9
  • Upwork Job ID: 1821551089457405095
  • Last Price Increase: 2024-08-24
  • Automatic offers:
    • dominictb | Contributor | 103887884
Issue OwnerCurrent Issue Owner: @ntdiary

Activity

  1. added
    Daily
    Bug
    on Aug 8, 2024
  2. melvin-bot commented on Aug 8, 2024

    @melvin-bot

    Triggered auto assignment to @puneetlath (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.

  3. IuliiaHerets commented on Aug 8, 2024

    @IuliiaHerets
    Author

    We think that this bug might be related to #vip-vsb

  4. IuliiaHerets commented on Aug 8, 2024

    @IuliiaHerets
    Author

    @puneetlath FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

  5. added
    External
    on Aug 8, 2024
  6. melvin-bot commented on Aug 8, 2024

    @melvin-bot
  7. changed the title [-]Web- User avatar & animation do not load after switching from Inbox to Settings with animation[/-] [+][$250] Web- User avatar & animation do not load after switching from Inbox to Settings with animation[/+] on Aug 8, 2024
  8. added
    Help Wanted
    on Aug 8, 2024
  9. melvin-bot commented on Aug 8, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary (External)

  10. codewaseem commented on Aug 9, 2024

    @codewaseem
    Contributor

    It seems that this bug is caused by unnecessary state updates, leading to a much more complicated issue than it initially appears. There's an infinite re-rendering loop occurring when navigating from Settings -> Inbox -> Settings.

    The top-level component is continuously re-rendering, which could be the underlying cause of performance issues and the heating problem noted in issue #36645.
    Screenshot 2024-08-09 at 18 33 38

    cI've been unable to pinpoint the exact cause of these unnecessary re-renders, but I suspect it mainly stems from react-native-onyx/withOnyx().
    See : #47041 (comment)

  11. kaushiktd commented on Aug 12, 2024

    @kaushiktd
    Contributor

    @puneetlath after pull new code i don't reproduce this issue
    screen-capture.webm

  12. 81 remaining items

  13. mountiny commented on Oct 7, 2024

    @mountiny
    Contributor

    I believe we just need to pay this one out from the latest convo

  14. puneetlath commented on Oct 7, 2024

    @puneetlath
    Contributor

    Ok @ntdiary can you complete the checklist?

    And @dominictb can you accept the upwork offer? https://www.upwork.com/nx/wm/offer/103887884

  15. dominictb commented on Oct 7, 2024

    @dominictb
    Contributor

    @puneetlath Curious what's your thought on this comment?

    BTW, @puneetlath, curious is it possible to increase the bounty for this issue? I feel it's a relatively tough one. 😄
    After it was posted on the 8th, it took several attempts before a seemingly valid proposal emerged on the 18th, and then, after two weeks of extensive digging and discussion, we finally arrived at a relatively good RCA and solution. 😂

    cc @ntdiary

  16. ntdiary commented on Oct 8, 2024

    @ntdiary
    Contributor

    Ok @ntdiary can you complete the checklist?

    @puneetlath, are you referring to the BugZero checklist? It seems like it hasn't been posted recently due to melvin's failure. 😂

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist will need to be completed before the issue can be closed:

    • [@ntdiary] The PR that introduced the bug has been identified. Link to the PR: Enable React concurrent mode #42592
    • [@ntdiary] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/42592/files#r1791959554
    • [@ntdiary] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
    • [@ntdiary] Determine if we should create a regression test for this bug. Yes
    • [@ntdiary] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again. As below
    • [@puneetlath] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

    The testing steps are simple, it's fine to create a regression test. :)

    Regression Test steps

    1. Go to staging.new.expensify.com
    2. Go to Account settings.
    3. Go to any page with animation in the header (Preferences/Security/Troubleshoot/About/Save the world).
    4. Go to Inbox.
    5. Switch back to Account settings.
    6. Verify avatar and animation can be displayed normally.
  17. puneetlath commented on Oct 9, 2024

    @puneetlath
    Contributor

    Regression test issue: https://github.com/Expensify/Expensify/issues/434734

    @dominictb bump, can you accept the offer? https://www.upwork.com/nx/wm/offer/103887884. Please ping me here when you have.

    Payment summary:

    Thanks everyone!

  18. dominictb commented on Oct 9, 2024

    @dominictb
    Contributor

    @puneetlath Could you have a look at this comment?
    Thanks!

  19. puneetlath commented on Oct 9, 2024

    @puneetlath
    Contributor

    What do you think is fair $500?

  20. dominictb commented on Oct 9, 2024

    @dominictb
    Contributor

    @puneetlath Yes I agree that would be fair given the effort here

    cc @ntdiary

  21. ntdiary commented on Oct 10, 2024

    @ntdiary
    Contributor

    Completely agree. :)

  22. puneetlath commented on Oct 10, 2024

    @puneetlath
    Contributor

    Ok sounds good. I reviewed the thread and it seems fair to me too. I've updated the payment summary.

    @dominictb please accept the new offer and ping me here when you have: https://www.upwork.com/nx/wm/offer/104356817

  23. dominictb commented on Oct 10, 2024

    @dominictb
    Contributor

    @puneetlath I did, thanks 🙏

  24. puneetlath commented on Oct 10, 2024

    @puneetlath
    Contributor

    Ok good to go. @ntdiary request on NewDot please. Thanks y'all!

  25. JmillsExpensify commented on Oct 11, 2024

    @JmillsExpensify
    Contributor

    $500 approved for @ntdiary

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternalWeekly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions