Fix missing violation in Reports preview for offline-held expenses#78989
Fix missing violation in Reports preview for offline-held expenses#78989carlosmiceli merged 7 commits intoExpensify:mainfrom
Conversation
…ionViolations parameter for improved report section handling
|
@ZhenjaHorbach 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] |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-01-12.17.08.09.movAndroid: mWeb Chrome2026-01-12.17.12.06.moviOS: HybridApp2026-01-12.17.08.09.moviOS: mWeb Safari2026-01-12.17.12.06.movMacOS: Chrome / Safari2026-01-12.17.06.49.mov |
|
Does this really work? 2026-01-08.12.32.31.movAnd looks like in your PR descriptions videos, you don't use offline mode |
|
@ZhenjaHorbach Thanks! I agree that the current code change is missing allTransactionViolations in the hasVisibleViolationsForUser function, which can cause it to not work correctly sometime. I’ve updated the code accordingly and will send the evidence again. |
|
@cretadn22 |
|
Prettier issue |
…tSections for improved readability
|
Changes look good |
|
@ZhenjaHorbach Ok, I updated |
|
LGTM! |
…rams type for improved parameter handling and readability.
|
✋ 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/carlosmiceli in version: 9.3.0-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.3.0-8 🚀
|
Explanation of Change
Fixed Issues
$ #76816
PROPOSAL: #76816 (comment)
Tests
Prerequisite: Account has at least one workspace.
Offline tests
Prerequisite: Account has at least one workspace.
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Prerequisite: Account has at least one workspace.
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
Screen.Recording.2026-01-09.at.11.12.30.mov
Android: mWeb Chrome
Screen.Recording.2026-01-09.at.11.10.57.mov
4668f1f
iOS: Native
Screen.Recording.2026-01-09.at.11.09.21.mov
iOS: mWeb Safari
Screen.Recording.2026-01-09.at.11.07.22.mov
MacOS: Chrome / Safari
Screen.Recording.2026-01-09.at.11.06.08.mov