Fix false RBR on settled splits#91541
Conversation
The `?? {}` defeated the `transaction &&` guard in hasMissingSmartscanFields, {} is truthy, so isCreatedMissing return true and fired a false-positive RBR whenever the split parent transaction wasn't loaded by OpenApp.
|
@NicolasBonet 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] |
|
@mollfpr I am still getting familiar with the product, so those tests steps are too simple, i have no idea how to create a split across two members, let's detail them please |
|
@NicolasBonet No worries! I have updated the test step. Happy to help walk through the test step! |
Thank you, but I was trying to reproduce this and in Account A i wasn't able to find the chat, it exists as I can view it if I directly visit the URL, but I cannot see it in the inbox list: Screen.Recording.2026-05-25.at.9.29.24.AM.mov |
|
nvm I just saw the focus mode thing! |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafariScreen.Recording.2026-05-25.at.9.35.45.AM.mov |
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
I'll go ahead to merge this, nothing has changed in the product 🙌 |
|
🚧 @mollfpr 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/mollfpr in version: 9.3.83-0 🚀
Bundle Size Analysis (Sentry): |
|
I reviewed the changes in this PR. The fix removes a No help site documentation changes are required. @mollfpr, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
Explanation of Change
The
?? {}defeated thetransaction &&guard in hasMissingSmartscanFields, {} is truthy, so isCreatedMissing return true and fired a false-positive RBR whenever the split parent transaction wasn't loaded by OpenApp.Fixed Issues
$ https://github.com/Expensify/Expensify/issues/635465
PROPOSAL:
Tests
Prerequisites:
Two accounts:
Offline tests
N/A
QA Steps
Prerequisites:
Two accounts:
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))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
MacOS: Chrome / Safari
Before
before.rbr.fix.mp4
After
after.rbr.fix.mp4