-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix: Failed IOU requests are still deletable #18829
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
Conversation
|
@roryabraham @0xmiroslav One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
Currently I couldn't reproduce the bug after #18237 was merged. Simulate failing network requests no longer works here. About the PRBasically this PRs will throw a Flow
Lines 91 to 97 in 22b971d
In conclusion, I think we need to find other test cases to simulate a failed IOU request as Simulate failing network requests no longer works here. |
|
@roryabraham @0xmiroslav friendly bump |
|
reviewing now @tienifr please pull main |
…deletable-failed-iou
|
Done! |
|
Now the behavior completely changed. Instead of opening IOU details modal, switch to money request chat. And Delete button is in 3 dots menu at the top right. And latest Screen.Recording.2023-05-16.at.6.55.52.AM.mov |

Details
Failed IOU requests are still deletable. This PR fixes that.
Fixed Issues
$ #16748
PROPOSAL: #16748 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android