-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$250] IOU - Green dot shows up in LHN briefly when requeting money from another user #39447
Comments
Triggered auto assignment to @roryabraham ( |
👋 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:
|
@roryabraham 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 #wave-collect - Release 1 |
reproduced locally on main |
reproduced locally on the production branch as well |
reproduced in production, demoting |
Job added to Upwork: https://www.upwork.com/jobs/~017992a05a461e2089 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Triggered auto assignment to @twisterdotcom ( |
pro-tip: go offline before step 6 in the reproduction steps and the green dot that shouldn't be there is persistent |
related function is |
the reason the green dot is there is because the report has |
I suspect this is a problem introduced by https://github.com/Expensify/App/pull/34866/files, |
removing help wanted, will just open the PR myself |
PR ready for review: #39470 |
this one was super simple, reducing to $250 |
Upwork job price has been updated to $250 |
@roryabraham @abdulrahuman5196 I don't think this is the right way to fix the issue, it will cause regression because for 1-1 IOU, this line will never be evaluated, and It's expected that the I agree the name is a bit confusing, we might want to rename it to be clear, but we can't change the default return to ProposalPlease re-state the problem that we are trying to solve in this issue.Green dot shows up in LHN briefly when requeting money from another user What is the root cause of that problem?In here, we're not checking if What changes do you think we should make in order to solve the problem?In here, check that the policy is not a personal policy first.
Or can check What alternative solutions did you explore? (Optional)We can avoid passing personal policy to |
@nkdengineer I have not been able to reproduce any regression with my solution. If there is indeed a regression, can you please provide clear reproduction steps? |
@roryabraham Please try these steps (after applying your solution):
Now, the GBR in User B's LHN will disappear, which is not correct because User B still owes User A money after step 5. If user B is online, the GBR will disappear momentarily then will appear again after the back-end request is successful, the step of going offline is so that the issue is more visible. Meanwhile, in staging and prod now, the GBR will stay visible in User B's LHN after step 5. So the above behavior is a regression. The reason why this is happening is explained on top of my proposal |
thanks for the reproduction steps @nkdengineer, I can reproduce the regression you're reporting. I'm still not sure about your RCA though - I'm quite certain that |
thanks again for pointing out that issue @nkdengineer - the reproduction steps were very helpful. I ended up fixing the problem in a different way. |
@roryabraham There're other regressions with that approach too, please note
@roryabraham I think the problem here is that the naming of The use case for that method is: That's why We should instead rename to And we'll use |
@roryabraham Did you try keeping the And the |
Can you please provide reproduction steps for these other regressions? |
This issue has not been updated in over 15 days. @twisterdotcom, @abdulrahuman5196, @roryabraham eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Are we still waiting on a response to @roryabraham from @nkdengineer here? |
Yes. |
@twisterdotcom, @abdulrahuman5196, @roryabraham, this Monthly task hasn't been acted upon in 6 weeks; closing. If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead. |
Issue is not reproducible Recording.2174.mp4 |
That adds up. When I went back to my draft PR, merging main it looked like the core changes had already been made somewhere else. Closing this out |
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: 1.4.59-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:
Green dot will not show up in LHN when requeting money from another user
Actual Result:
Green dot shows up in LHN briefly when requeting money from another user
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6435614_1712065747860.20240402_214557.mp4
Bug6435614_1712065828320.20240402_214912.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: