Refactor getMoneyRequestInformation function#53424
Refactor getMoneyRequestInformation function#53424neil-marcellini merged 3 commits intoExpensify:mainfrom
Conversation
|
@dukenv0307 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] |
src/libs/actions/IOU.ts
Outdated
| transactionParams: RequestMoneyTransactionParams; | ||
| }; | ||
|
|
||
| type GetMoneyRequestInformation = { |
There was a problem hiding this comment.
This name should be GetMoneyRequestInformationParams or MoneyRequestInformationParams. I prefer MoneyRequestInformationParams same as
Line 109 in 3cc88f5
|
@mkzie2 I left one minor comment, the rest looks good |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-12-03.at.17.30.18.movAndroid: mWeb ChromeScreen.Recording.2024-12-03.at.16.55.01.moviOS: NativeScreen.Recording.2024-12-03.at.16.56.42.moviOS: mWeb SafariScreen.Recording.2024-12-03.at.16.53.18.movMacOS: Chrome / SafariScreen.Recording.2024-12-03.at.16.26.17.movMacOS: DesktopScreen.Recording.2024-12-03.at.17.06.10.mov |
neil-marcellini
left a comment
There was a problem hiding this comment.
Great work, thanks! The code looks pretty similar, but I think it will be so much easier to work with now that it's more organized and now that the ordering of fields within the objects doesn't matter 🚀
|
✋ 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/neil-marcellini in version: 9.0.72-0 🚀
|
|
🚀 Deployed to staging by https://github.com/neil-marcellini in version: 9.0.72-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.72-1 🚀
|
Explanation of Change
Refactor getMoneyRequestInformation function
Fixed Issues
$ #53416
PROPOSAL: #53416 (comment)
Tests
Offline tests
Same
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.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 and/or tagged@Expensify/designso 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-12-03.at.12.59.02.mov
Android: mWeb Chrome
Screen.Recording.2024-12-03.at.13.02.27.mov
iOS: Native
Screen.Recording.2024-12-03.at.13.00.31.mov
iOS: mWeb Safari
Screen.Recording.2024-12-03.at.13.03.56.mov
MacOS: Chrome / Safari
Screen.Recording.2024-12-03.at.12.53.53.mp4
MacOS: Desktop
Screen.Recording.2024-12-03.at.13.08.47.mov