Update setSplitShares to pass currentUserAccountID#90873
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.
|
|
@ikevin127 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] |
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-05-16.at.15.47.23.mov |
ikevin127
left a comment
There was a problem hiding this comment.
🟢 LGTM
No issues were found, and the improvements align with the project’s best practices. The PR addresses a specific technical debt issue (reliance on getUserAccountID) and improves the maintainability of the split expense logic.
Great work! This PR is a solid example of refactoring to improve code quality and testability 🚀
🧪 Manual tests verified
- Split Expense in DM Chat ✅
- Split Distance Request ✅
- Policy Split Expense ✅
🔥 Edge Cases
- Large Split Groups ✅
- Currency Switching ✅
|
cc: @tgolen |
|
Bump @tgolen for visibility |
|
PR should be fine without product review since it's just a code refactor. |
|
🚧 @danieldoglas has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ 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/danieldoglas in version: 9.3.79-1 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This is a purely internal code refactor that passes |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.79-4 🚀
|
Explanation of Change
Fixed Issues
$ #66519
PROPOSAL:
Tests
Offline tests
QA Steps
same as tests
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
16.05.2026_21.11.14_REC.mp4