feat: handle the Distance and Rate fields for splits#82257
feat: handle the Distance and Rate fields for splits#82257lakchote merged 21 commits intoExpensify:mainfrom
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
🚧 @lakchote has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
@mkhutornyi @lakchote One of you needs to 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] |
|
@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] |
|
Deploy Blocker #83514 was identified to be related to this PR. |
|
Deploy Blocker #83518 was identified to be related to this PR. |
|
Deploy Blocker #83535 was identified to be related to this PR. |
|
Deploy Blocker #83536 was identified to be related to this PR. |
|
Deploy Blocker #83538 was identified to be related to this PR. |
|
Deploy Blocker #83564 was identified to be related to this PR. |
|
Deploy Blocker #83570 was identified to be related to this PR. |
|
Deploy Blocker #83594 was identified to be related to this PR. |
|
Deploy Blocker #83599 was identified to be related to this PR. |
|
Deploy Blocker #83606 was identified to be related to this PR. |
|
Deploy Blocker #83610 was identified to be related to this PR. |
|
Deploy Blocker #83652 was identified to be related to this PR. |
|
Deploy Blocker #83654 was identified to be related to this PR. |
|
Deploy Blocker #83690 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.3.26-8 🚀
|
| const updatedReportAction = shouldBuildOptimisticModifiedExpenseReportAction | ||
| ? buildOptimisticModifiedExpenseReportAction(transactionThreadReport, transaction, transactionChanges, isFromExpenseReport, policy, updatedTransaction, allowNegative) | ||
| : null; | ||
| if (!hasPendingWaypoints && !(hasModifiedDistanceRate && isFetchingWaypointsFromServer(transaction)) && updatedReportAction) { |
There was a problem hiding this comment.
Coming from #83500, we had to relax the condition for split transactions to allow the optimistic MODIFIED_EXPENSE to be created even when waypoints are pending.
Explanation of Change
Fixed Issues
$ #78891
#82122
#82120
#82119
#82116
#82134
Tests
Preconditions: User is an Expensifail account and admin have a Workspace
Offline tests
Preconditions: User is an Expensifail account and admin have a Workspace
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Preconditions: User is an Expensifail account and admin have a Workspace
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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
2026-01-13.13.21.34.mov