Repository navigation
FIX: Implement pattern C for money reports with various currencies - #35062
Conversation
|
@johnmlee101 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] |
|
Adding @allroundexperts to help review this and do the checklist |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-01-31.at.3.12.06.AM.movAndroid: mWeb ChromeScreen.Recording.2024-01-31.at.3.00.57.AM.moviOS: NativeScreen.Recording.2024-01-31.at.2.58.37.AM.moviOS: mWeb SafariScreen.Recording.2024-01-31.at.2.51.03.AM.movMacOS: Chrome / Safarihttps://github.com/Expensify/App/assets/30054992/595fa564-2f9a-4d91-9a84-1018a1ad49de MacOS: DesktopScreen.Recording.2024-01-31.at.2.46.34.AM.mov |
|
🎯 @allroundexperts, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #35441. |
|
Forgot to post this previously, but I think the following is not related to this PR. @BartoszGrajdek Can you please confirm before merging?
|
| } | ||
|
|
||
| const transactions = TransactionUtils.getAllReportTransactions(report.reportID); | ||
|
|
Let's confirm this before I approve 😄 |
|
I think that's not something related to this PR, but I'll check it today to make sure 🫡 |
|
Any update @BartoszGrajdek ? |
|
I don't get an error like the one you've sent, so maybe it got fixed after merging the main? @allroundexperts let me know if you can still see it. I would like to wait for the main to get fixed first though, because it seems like there are some problems there |
|
Alright, I've checked to make sure and all the errors I'm getting are the same as on the main branch. The one you've sent @allroundexperts seems to have disappeared to it most likely got fixed. cc @johnmlee101 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
1 similar comment
|
🚀 Cherry-picked to staging by https://github.com/thienlnam in version: 1.4.36-5 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.37-7 🚀
|

Details
While working on #31345 I have noticed that when money report contains money requests with currencies different than default currency of the money report itself the app cannot handle calculations like getting a total amount while the user is offline. Because of that after a discussion on Slack with Expensify team it was decided that for now we want to implement pattern C whenever there's a money request sent with a different currency.
Fixed Issues
N/A (Details above)
Tests
Offline tests
QA Steps
Online
Offline
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
android.mp4
Android: mWeb Chrome
chrome.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
safari.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4