-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Split expense flow (Phase 2 - Reverting existing split expenses) #72086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split expense flow (Phase 2 - Reverting existing split expenses) #72086
Conversation
|
@eh2077 this is a very high priority one, as we want the splits feature to be live next week. |
|
Got it, reviewing it! |
|
Is BE ready? I'm using staging server and the RevertSplitTransaction command returned error Screen.Recording.2025-10-08.at.11.21.31.PM.mov |
|
Bug: Get one split after deleting the other split
Screen.Recording.2025-10-08.at.11.59.10.PM.mov |
|
Bug: Offline - distance splits - system message contains pending keyword after reverting Screen.Recording.2025-10-09.at.12.08.04.AM.mov |
Strange |
Oh |
Fixed ! |
|
Bug: comments of the original expense isn't shown under the split table (they're in the same report ID)
After reverting splits, do we need to show comments of the original expense? Screen.Recording.2025-10-09.at.12.18.12.AM.mov |
eh2077
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good so far, just a comment about TS types.
Hmm, so that means my account |
Actually good question |
I don't think so |
About this |
|
@ZhenjaHorbach there are conflicts and lint failing, let's push this one to the finish line! |
|
The eslint check failing is unrelated to this PR, see https://expensify.slack.com/archives/C01GTK53T8Q/p1761207966046699 |
|
@lakchote looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Not an emergency, see #72086 (comment) |
Can we check testing this PR with Expensifail accounts or we need some specific settings? |
|
🚀 Deployed to staging by https://github.com/lakchote in version: 9.2.37-1 🚀
|
As far as I know, Expensifail accounts always have all betas enabled |
| } else { | ||
| deleteMoneyRequest( | ||
| iouTransactionID, | ||
| requestParentReportAction, | ||
| duplicateTransactions, | ||
| duplicateTransactionViolations, | ||
| iouReport, | ||
| chatIOUReport, | ||
| isChatIOUReportArchived, | ||
| isSingleTransactionView, | ||
| ); | ||
| } else if (iouTransactionID) { | ||
| deleteTransactions([iouTransactionID], duplicateTransactions, duplicateTransactionViolations, currentSearchHash, isSingleTransactionView); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ZhenjaHorbach Could these changes be causing #73330 ?
I'm reverting these here https://github.com/Expensify/App/pull/73379/files and it seems to fix the issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I never would have thought it was related to this PR
Because the issue is the broken navigation, which we didn't change
But I will try to fix !
|
@ZhenjaHorbach PR is failing only on Desktop, iOS with #73383 |
Thanks for testing! Looks like a BE issue |
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.2.37-8 🚀
|
Split expense flow (Phase 2 - Reverting existing split expenses)
Explanation of Change
Fixed Issues
$ #61029
PROPOSAL: NA
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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
2025-09-29.16.52.42.mov
Android: mWeb Chrome
2025-09-29.16.52.42.mov
iOS: Native
2025-09-29.16.52.42.mov
iOS: mWeb Safari
2025-09-29.16.52.42.mov
MacOS: Chrome / Safari
2025-09-29.16.52.42.mov
MacOS: Desktop
2025-09-29.16.52.42.mov