-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2024-06-05] [$250] iOS - Expense - Chat header appears after delay when opening expense report #41523
Comments
Triggered auto assignment to @puneetlath ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@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 |
We think that this bug might be related to #vip-vsp |
I'm not able to reproduce this on my iOS app. |
Can't repro either with Browserstack. I get a "Review required" violation on each expense, but that's unrelated, and violations are still in beta. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The money report header shows with a delay. What is the root cause of that problem?The money report header connects to several onyx data, App/src/components/MoneyReportHeader.tsx Lines 318 to 331 in 0f39e43
and if the data is not available yet, withOnyx will return null. In this case, nextStep data is not available yet. This has the same root cause as #41397 This also happens in the transaction header and the one that's not available yet is shownHoldUseExplanation App/src/components/MoneyRequestHeader.tsx Lines 246 to 249 in 0f39e43
What changes do you think we should make in order to solve the problem?Set an initial value of the missing data. For the nextStep, we can set it to an empty object. App/src/components/MoneyReportHeader.tsx Lines 322 to 324 in 0f39e43
For the shownHoldUseExplanation, we can set it to false. App/src/components/MoneyRequestHeader.tsx Lines 246 to 249 in 0f39e43
However, there is currently a bug in withOnyx where a falsey initial value is ignored. I previously fixed it here to fix #35906, but gets reverted because of some bugs that appear in the App where it expects the falsey initial value to not work. So, in the new PR, I use We can consider this as a migration issue from withOnyx to useOnyx |
Job added to Upwork: https://www.upwork.com/jobs/~011fdda098a71985a0 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann ( |
@puneetlath, @DylanDylann Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@DylanDylann thoughts on the proposal above? |
Will update today |
Oh see, I got misunderstand your mean |
@bernhardoj's proposal looks good. I agree with using useOnyx instead of withOnyx |
Current assignee @puneetlath is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @DylanDylann |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.76-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-06-05. 🎊 For reference, here are some details about the assignees on this issue:
|
@DylanDylann bump on the checklist! |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed: [@DylanDylann] The PR that introduced the bug has been identified. Link to the PR: NA Regression Test Proposal
Do we agree 👍 or 👎 |
@puneetlath thanks for your reminder |
All paid. Thanks everyone! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.70-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Expense report header will appear instantly
Actual Result:
The report content is displayed first, then followed by the chat header
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6469112_1714669668576.RPReplay_Final1714668295.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @puneetlathThe text was updated successfully, but these errors were encountered: