Fix system paid message#36993
Conversation
| translationKey = 'iou.payerPaidAmount'; | ||
| break; | ||
| } | ||
| return Localize.translateLocal(translationKey, {amount: formattedAmount, payer: ''}); |
There was a problem hiding this comment.
From #33819, I bring the getIOUReportActionDisplayMessage back and only remove the payerName for the paid message.
| translatePhraseKey = 'iou.paidWithExpensifyWithAmount'; | ||
| } | ||
|
|
||
| let actualPayerName = report.managerID === currentUserAccountID || shouldHidePayer ? '' : getDisplayNameForParticipant(report.managerID, true); |
There was a problem hiding this comment.
remove shouldHidePayer param here since we will handle this case in getIOUReportActionDisplayMessage function.
|
@dukenv0307 Let's speed up this PR |
|
@DylanDylann Please 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] |
|
Hey @DylanDylann and @dukenv0307, what are your thoughts on merging the revert PR first. Most of these changes seem to be similar and it might be easier reviewing this PR if it branches from the already reverted PR since we know the reverted PR will solve the deploy blockers without re-introducing new issues. |
|
@srikarparsi I think that's good. |
|
Merged the revert PR @dukenv0307, please merge main into this PR whenever you get a chance. |
|
@DylanDylann Merged main and updated to fix the original issue. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-21.at.18.45.17-compressed.movAndroid: mWeb ChromeScreen.Recording.2024-02-21.at.18.46.40-compressed.moviOS: NativeScreen.Recording.2024-02-21.at.18.42.59-compressed.moviOS: mWeb SafariScreen.Recording.2024-02-21.at.18.44.41-compressed.movMacOS: Chrome / SafariScreen.Recording.2024-02-21.at.18.48.22.movMacOS: DesktopScreen.Recording.2024-02-21.at.18.51.02.mov |
srikarparsi
left a comment
There was a problem hiding this comment.
lgtm according to these specifications
|
✋ 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/srikarparsi in version: 1.4.44-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.44-13 🚀
|
Details
Fix regression of issue
Fixed Issues
$ #33819
PROPOSAL: #33819 (comment)
Tests
%workspaceName% paid $100.00%payerName%: paid $100.00 [using Expensify || elsewhere]paid $100.00 [using Expensify || elsewhere]Offline tests
Same as above
QA Steps
%workspaceName% paid $100.00%payerName%: paid $100.00 [using Expensify || elsewhere]paid $100.00 [using Expensify || elsewhere]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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.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
Android: Native
Screen.Recording.2024-02-21.at.12.18.16.mp4
Android: mWeb Chrome
Screen.Recording.2024-02-21.at.11.06.13.mov
iOS: Native
Screen.Recording.2024-02-21.at.12.11.55.mp4
iOS: mWeb Safari
Screen.Recording.2024-02-21.at.11.01.51.mov
MacOS: Chrome / Safari
Screen.Recording.2024-02-21.at.10.55.21.mov
MacOS: Desktop
Screen.Recording.2024-02-21.at.11.12.18.mov