Repository navigation
Simplify failure data for request/send money and make it more consistent with SplitBill - #18328
Conversation
… a new report for failure data
|
@mananjadhav @alex-mechler 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] |
|
@yuwenmemon I am currently testing the flow. While everything as per the steps in the flow works. I can't help but notice, the amount is blank when I move from offline to online on the main testing device. When I am offline the amount shows up just fine and then when I switch it changes to a green tick. Is that expected here? Attaching the video of the flow: web-duplicate-chats-after-offline-request-flow.mov |
|
Oh curious, I wasn't seeing that in my tests let me take a look. |
|
Hmmm... Yeah, I can't seem to be able to reproduce. What steps are you using to get to that? Kapture.2023-05-03.at.16.24.46.mp4 |
Reviewer Checklist
Screenshots/VideosWebweb-offline-dup-chat-iou-error.movMobile Web - Chromemweb-chrome-offline-dup-chat-iou-error.movMobile Web - Safarimweb-safari-offline-dup-chat-iou-error.movDesktopdesktop-offline-dup-chat-iou-error.moviOSios-offline-dup-chat-iou-error.movAndroidandroid-offline-dup-chat-iou-error.mov@yuwenmemon Now since today I am no longer able to reproduce the issue I reported. Hence, I've tested and completed the checklist. @luacmartins @youssef-lr All yours. |
|
@yuwenmemon I just saw we've got merge conflicts. Can you please resolve it? I'll do one final round of testing then. |
|
@yuwenmemon some tests are failing |
alex-mechler
left a comment
There was a problem hiding this comment.
LGTM, failing tests are known https://expensify.slack.com/archives/C01GTK53T8Q/p1683567674183729
|
Actually, only some of the tests are known failures. Looks like the IOU test failures are related to this |
|
Updated! Tests are passing now! |
|
Merging since Alex and Manan had previously approved and we only fixed the failing tests on the last commit. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.13-0 🚀
|
|
Hey there! Is this a regression of this PR? #18852 |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.13-5 🚀
|

@youssef-lr please review
cc @luacmartins
Details
We shouldn't need to use a generic error message for failure data for the request money / send money flow when creating a New Chat, just like split bill. Otherwise, it will just be redundant with the error sent by the API. Thus, make the failure data match what we do with Split Bill.
Fixed Issues
$ #15933
Tests/QA
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
(This is not a UI flow so I didn't include screenshots on the other platforms)