-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Split expense flow #61495
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 #61495
Conversation
|
Not sure if this is an issue or not, but I'm getting this weird create expense flow when I'm trying to upload a receipt. Tested on staging and I'm not getting it in the flow, but I'm getting some weird auth errors when testing across the ad-hoc build and staging: Screen.Recording.2025-05-29.at.10.16.16.AM.mov |
|
Ok, another one I'm not sure about. When I 'Mark as cash' and then split, the splits show that they're still awaiting merge until I open one, then it flashes 'Mark as cash' before disappearing: Screen.Recording.2025-05-29.at.10.23.57.AM.mov |
|
Alright, last one. When an admin splits an expense for a submitter on a draft report, the original expense is still showing in the preview:
Expected: Expense is split, original transaction is hidden Screen.Recording.2025-05-29.at.10.34.17.AM.mov |
It looks like a violation issue because the category is missing. It shouldn't be related to our Splits feature as it's tied to the Create Expense flow.
It looks like an optimistic Onyx issue, hence the briefly appearing
EDIT: I've been able to reproduce with the preconditions. A backend error is thrown which explains why the original transaction is returned. There's a PR from @rlinoz to handle this particular issue. There's also a pending Web-E PR to be merged, but tests are failing. If I'm checking out the Web-E branch of Rodrigo, I don't have the issue. |
Clarifying the admin is a separate user in this flow. |
Actually I can't reproduce this issue |
|
I've discussed it with @garrettmknight, and since the third issue is a pretty niche flow that we have a fix for underway, we can proceed with merging the PR. @ZhenjaHorbach can you fix the conflicts please? |
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
✋ 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/lakchote in version: 9.1.54-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.1.54-7 🚀
|

Explanation of Change
Implement Split expense flow (Phase 1)
Fixed Issues
$ #61027
PROPOSAL:
Tests
Offline tests
QA Steps
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))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