-
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
Fix: Failed IOU requests are still deletable #18829
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android