fix: distance-related fields are missing in split details page#57621
fix: distance-related fields are missing in split details page#57621cristipaval merged 1 commit intoExpensify:mainfrom
Conversation
Reviewer Checklist
Screenshots/Videos |
c3024
left a comment
There was a problem hiding this comment.
Suggested a small wording NIT.
LGTM!
| const payeePersonalDetails = personalDetails?.[actorAccountID]; | ||
| const participantsExcludingPayee = participants.filter((participant) => participant.accountID !== reportAction?.actorAccountID); | ||
|
|
||
| const isDistanceRequestTransaction = isDistanceRequest(transaction); |
There was a problem hiding this comment.
| const isDistanceRequestTransaction = isDistanceRequest(transaction); | |
| const isDistanceRequest = isDistanceRequest(transaction); |
NIT: The transaction word looks redundant to me.
There was a problem hiding this comment.
@c3024 isDistanceRequest is also the function name so I added the Transaction postfix.
|
✋ 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/cristipaval in version: 9.1.8-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.8-1 🚀
|
|
🚀 Deployed to staging by https://github.com/cristipaval in version: 9.1.13-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.13-5 🚀
|






Explanation of Change
Distance-related fields like Distance, Rate are missing in Split details page because
isDistanceRequestparam is missing inSplitBillDetailsPage.Fixed Issues
$ #57462
PROPOSAL: #57462 (comment)
Tests
Offline tests
None
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop