Refactor getTrackExpenseInformation function#57316
Refactor getTrackExpenseInformation function#57316neil-marcellini merged 7 commits intoExpensify:mainfrom
Conversation
|
@s77rt I updated, please help to check again. |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemweb-chrome.moviOS: Nativeios.moviOS: mWeb Safarimweb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
neil-marcellini
left a comment
There was a problem hiding this comment.
One small request but otherwise looks great
src/libs/actions/IOU.ts
Outdated
| type GetTrackExpenseInformationPolicyParams = { | ||
| policy?: OnyxEntry<OnyxTypes.Policy>; | ||
| policyTagList?: OnyxEntry<OnyxTypes.PolicyTagLists>; | ||
| policyCategories?: OnyxEntry<OnyxTypes.PolicyCategories>; | ||
| }; |
There was a problem hiding this comment.
Can we re-use RequestMoneyPolicyParams? Perhaps we could rename that type to be more generic?
Lines 346 to 350 in 23ac11f
There was a problem hiding this comment.
@neil-marcellini I updated the RequestMoneyPolicyParams name and use it here.
|
✋ 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.1.7-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.7-2 🚀
|
Explanation of Change
Refactor getTrackExpenseInformation function
Fixed Issues
$ #57190
PROPOSAL: #57190 (comment)
Tests
Offline tests
Same
QA Steps
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.2025-02-24.at.11.07.28.mov
Android: mWeb Chrome
Screen.Recording.2025-02-24.at.11.00.44.mov
iOS: Native
Screen.Recording.2025-02-24.at.11.08.49.mov
iOS: mWeb Safari
Screen.Recording.2025-02-24.at.11.01.36.mov
MacOS: Chrome / Safari
Screen.Recording.2025-02-24.at.10.58.51.mov
MacOS: Desktop
Screen.Recording.2025-02-24.at.11.04.42.mov