Fix/Negative value infinite loading for remove from report#73858
Fix/Negative value infinite loading for remove from report#73858LukasMod wants to merge 1 commit intoExpensify:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 8 files with indirect coverage changes 🚀 New features to boost your workflow:
|
a2483e1 to
a523f20
Compare
|
@thesahindia 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] |
|
LGTM |
|
@LukasMod, I couldn't repro it on latest main Screen.Recording.2025-11-04.at.2.41.18.AM.mov |
|
@thesahindia I believe it was fixes by this PR https://github.com/Expensify/App/pull/73583/files#r2489423716 with general change in loading mechanism. I think this one can be closed, I can't reproduce it either on main. |
Thanks! Let's close it. |
Explanation of Change
Similar issue like in #73405.
report.totalwas duplicated because sign was not recognized fromnewReportobject (which was null in this case, so sign was always positive).Fixed Issues
$ #72147
PROPOSAL:
Tests
Prerequisite: Account has at least one workspace.
Specific bug from the issue:
Try the same with negative and positive amount in step 3.
Offline tests
Same as 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))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.native.mov
Android: mWeb Chrome
android.chrome.mov
iOS: Native
ios.native.mov
iOS: mWeb Safari
ios.safari.mov
MacOS: Chrome / Safari
web.chrome.mov
web.safari.mov
MacOS: Desktop
desktop.mov