Copy email with text when IOU settled message is copied#26151
Conversation
|
@Ollyws I noticed that we show name/email with the "Owns" message in LHN
I think for consistency we should match behaviour for "Owns" and "Paid" message in LHN, i.e either show name/email for both in LHN or hide or both in LHN. Thoughts? |
|
@huzaifa-99 Yes I'm inclined to agree, that is inconsistent. I've asked in Slack. |
|
@Beamanator What do you think about this comment? I've asked on slack but no replies. |
@Ollyws, just to be clear you mean for the LHN right and not for the report message? |
|
Yeah in the LHN |
|
@Ollyws I saw some discussion on Slack suggestion fixing the other texts/msgs for IOU reports in LHN. I don't know the full list of msgs/texts there but will investigate today and update here. |
|
Discussion is still ongoing. I left a message in slack here. Edit: Internal engineers are busy with the new feature launch. Will ping them again in a day or 2. |
|
I have bumped the message in slack, will wait for the team's response. |
|
From the slack convo, we seem to align on showing the username in LHN for paid messages and for other messages (which we are already doing). I have updated the PR to show the payer name for paid IOU/Expense messages in LHN. cc: @Ollyws |
|
Updated test videos. This is ready for review again. |
| type SettledAfterAddedBankAccountParams = {submitterDisplayName: string; amount: string}; | ||
|
|
||
| type PaidElsewhereWithAmountParams = {amount: string}; | ||
| type PaidElsewhereWithAmountParams = {payer: string; amount: number}; |
There was a problem hiding this comment.
Why have we set this type as number while all the others are string?
| paidWithExpensifyWithAmount: ({amount}: PaidWithExpensifyWithAmountParams) => `paid ${amount} with Expensify`, | ||
| paidElsewhereWithAmount: ({payer, amount}: PaidElsewhereWithAmountParams) => `${payer} paid ${amount} elsewhere`, | ||
| paidUsingPaypalWithAmount: ({payer, amount}: PaidUsingPaypalWithAmountParams) => `${payer} paid ${amount} using Paypal.me`, | ||
| paidWithExpensifyWithAmount: ({payer, amount}: PaidWithExpensifyWithAmountParams) => `${payer} paid ${amount} using Expensify`, |
There was a problem hiding this comment.
Just wondering why we're changing this from with to using, was that something from the slack discussion?
Reviewer Checklist
Screenshots/VideosWebMacOS_Chrome.mp4Mobile Web - ChromeAndroid_Chrome.mp4Mobile Web - SafariiOS_Safari.mp4DesktopMacOS_Desktop.mp4iOSiOS_Native.mp4AndroidAndroid_Native.mp4 |
There was a problem hiding this comment.
Thanks for all your effort here @huzaifa-99!
LGTM.
|
Thanks so much for your efforts @Ollyws and @huzaifa-99 ! 🙏 So sorry for the delay, but I should be back and ready to help push this forward :D @huzaifa-99 again sorry for my delay, it looks like there's conflicts now 🙃 |
@Beamanator Thank you and no worries 😊. I fixed the merge conflicts. |
|
✋ 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/Beamanator in version: 1.3.72-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.72-11 🚀
|

Details
Fixed Issues
$ #25567
PROPOSAL: #25567 (comment)
Tests
Offline tests
We need to have settled a Money request report online.
QA Steps
Same as "Tests" section above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
Chrome
Web.Chrome.mp4
Safari
Web.Safari.mp4
Mobile Web - Chrome
mWeb.Chrome.mp4
Mobile Web - Safari
mWeb.Safari.mp4
Desktop
Desktop.Native.mp4
iOS
IOS.Native.mp4
Android
Android.Native.mp4