You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-11-13] [$500] IOU - Green dot in 1:1 DM in LHN does not disappear after paying the IOU offline #30848
Version Number: 1.3.95.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: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause - Internal Team Slack conversation:
Action Performed:
Navigate to staging.new.expensify.com
[User B] Request money from User A.
[User A] Go offline.
[User A] Pay the IOU requested by User B.
[User A] Go to LHN.
Expected Result:
The green dot in 1:1 DM in LHN will disappear after paying the IOU.
Actual Result:
The green dot in 1:1 DM in LHN does not disappear after paying the IOU offline. It only disappears after returning online.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 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:
Identify the pull request that introduced this issue and revert it.
changed the title [-]IOU - Green dot in 1:1 DM in LHN does not disappear after paying the IOU offline[/-][+][$500] IOU - Green dot in 1:1 DM in LHN does not disappear after paying the IOU offline[/+]on Nov 6, 2023
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
Activity
OSBotify commentedon Nov 3, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:melvin-bot commentedon Nov 3, 2023
Triggered auto assignment to @Li357 (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.DylanDylann commentedon Nov 3, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Green dot in 1:1 DM in LHN does not disappear after paying the IOU offline
What is the root cause of that problem?
We are using hasOutstandingChildRequest as a flag to display green dot
App/src/libs/ReportUtils.js
Line 1435 in 509d352
In payMoneyRequest function, we don't reset hasOutstandingChildRequest to false in optimisticdata of report
App/src/libs/actions/IOU.js
Lines 2445 to 2455 in bc9cb8f
What changes do you think we should make in order to solve the problem?
We need to add hasOutstandingChildRequest to false in optimisticdata here
App/src/libs/actions/IOU.js
Lines 2445 to 2455 in bc9cb8f
App/src/libs/actions/IOU.js
Lines 2468 to 2476 in bc9cb8f
What alternative solutions did you explore? (Optional)
puneetlath commentedon Nov 6, 2023
@DylanDylann that sounds good. Are you able to raise a PR asap?
[-]IOU - Green dot in 1:1 DM in LHN does not disappear after paying the IOU offline[/-][+][$500] IOU - Green dot in 1:1 DM in LHN does not disappear after paying the IOU offline[/+]melvin-bot commentedon Nov 6, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01310266fc6c713472
DylanDylann commentedon Nov 6, 2023
@puneetlath Oke I can raise PR now
19 remaining items
melvin-bot commentedon Nov 6, 2023
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
melvin-bot commentedon Nov 6, 2023
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
puneetlath commentedon Nov 13, 2023
All paid. Thanks everyone!