-
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 2023-10-10] [$500] Dev - Request Money - Manual request money Infinity loading after login #28280
Comments
Triggered auto assignment to @trjExpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~017e5ca352b532b8bd |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 ( |
Proposal by: @namhihi237 ProposalPlease re-state the problem that we are trying to solve in this issue.Manual request money shows Infinity loading after logout and login again What is the root cause of that problem?This issue was introduced by #25786 App/src/pages/iou/steps/NewRequestAmountPage.js Lines 164 to 166 in cfad43f
When the app is initialized, we initialize didInitCurrency hereLine 78 in cfad43f
Here is the logic to reset the iou after login. Lines 86 to 102 in cfad43f
That's why before logging out shouldResetIOUAfterLogin = false . After logging out and logging back in, shouldResetIOUAfterLogin is still false, causing the phone to return and not reset the iou.This leads to didInitCurrency = false so when we enter NewRequestAmountPage it results in show loading. until we reload the page to reset the shouldResetIOUAfterLogin = true variable
What changes do you think we should make in order to solve the problem?We should modify the conditions a bit if (!val || (!shouldResetIOUAfterLogin && didInitCurrency)) {
return;
} What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issueThe issue is that the "Request Money" feature is stuck in an infinite loading state after login. What is the root cause of that problem?In the Lines 78 to 102 in 295a8dc
What changes do you think we should make in order to solve the problem?We need to ensure that Here is the proposed change in IOU.js:
ResultApple Native App output.mp4Safari Desktop output_dekstop.mp4What alternative solutions did you explore? (Optional)None |
Proposal from @namhihi237 looks good to me #28280 (comment) |
Triggered auto assignment to @Gonals, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Could I ask why @narefyev91? as from what I see the Solution on @namhihi237 proposal is not clear |
As this is within regression period, original author/reviewer could take this. |
@Gonals Based on comment from @tgolen here https://github.com/Expensify/App/pull/25786/files/ecb657b4ecafe42d4c34537adf1ba90b3a01f94b#r1339409911 - the PR which introduced regression may be reverted and contributor who works on the issue should take care of this regression (re-work on initial issue and resolve this regression as well). But also @tgolen pointed good item #26538 - that we can wait his code changes |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.76-6 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 2023-10-10. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
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:
|
👋 Can we get this checklist filled out please to proceed with payments? |
|
What does this mean? The PR that caused this bug has been identified and since reverted by its author, so it could have been linked here.
I don't think this is "not applicable", this bug was a regression from somewhere, right? I think you're saying they are already aware of it because they authored the PR to revert it citing this bug.
When answering "N/A" it would be good to expand just a little on why you think something is not applicable. I think that reason might be because the problem the original PR was solving is being prevented (deep linking to say the confirmation screen of a money request), so it's not something we need to "catch" going forward.
Same sentiment as above. I.e No need to add a regression test for a deep link flow that's not going to be possible anymore or something. |
As for payments then, I think those are only as follows:
I've gone ahead and sent you an offer, @namhihi237! |
@trjExpensify accepted thanks |
Perfect, paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Show manual request money
Actual Result:
Infinity loading show
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: Dev 1.3.74-2
Reproducible in staging?: n
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-09-26.at.23.23.59.mov
Screen.Recording.2023-09-26.at.22.40.35.mov
Screen.Recording.2023-09-26.at.22.37.52.mov
Screen.Recording.2023-09-26.at.22.36.09.mov
Screen.Recording.2023-09-26.at.22.34.31.1.mov
Screen.Recording.2023-09-26.at.22.34.31.mov
Screen.Recording.2023-09-27.at.08.31.02.1.mov
Expensify/Expensify Issue URL:
Issue reported by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695742872366339
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: