Fix RECEIPT_NOT_SMART_SCANNED violation visibility across Report Preview, LHN, and Search#70507
Conversation
…iew, LHN, and Search
…-scanned-violation-visibility
…-scanned-violation-visibility
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp70507_android_native.movAndroid: mWeb Chrome70507_android_web.moviOS: HybridApp70507_ios_native.moviOS: mWeb Safari70507_ios_web.movMacOS: Chrome / Safari70507_web_chrome.movMacOS: Desktop70507_web_desstop.mov |
|
@abzokhattab, please correct me if I'm wrong, but if I go to a device logged in with an account that is a member of the workspace from which the expense was made, I can see the violation message: Screen.Recording.2025-09-17.at.18.35.01.movThis wasn't introduced by this PR, I can reproduce it in staging. But I'm not sure if this should be the expected behavior, what do you think? Thank you. cc: @blimpich |
|
Sorry for late response here. Not sure I follow. Taking this to Slack to sort out quicker. |
As discussed on Slack, the bug appears to be outside the scope of this PR. Do you agree, @abzokhattab? Can you resolve the conflicts here? I'll proceed with the review. Thank you. |
…-scanned-violation-visibility
|
@brunovjk yes, i have the same issue on staging ...regarding the Slack thread, unfortunately, my invitation request to Slack was not accepted yet, so i can't see the discussion thread |
|
merged with main 🚀 |
Codecov Report❌ Patch coverage is
... and 49 files with indirect coverage changes 🚀 New features to boost your workflow:
|
| .filter(Boolean) | ||
| .join(' '); | ||
| }, | ||
|
|
There was a problem hiding this comment.
NAB: What do you think about adding a comment to the function? Thanks.
|
@abzokhattab I think I found another place that needs updating, what do you think?: Multiple transactions in a report:
Screen.Recording.2025-09-29.at.12.47.00.mov |
|
Good point ... had to filter violations in the Screen.Recording.2025-10-04.at.15.10.25.movcan you please take a look |
|
It's on my list, I'll review it by the end of the day. Thank you. |
|
@abzokhattab I can reproduce a bug on Android web:
Android: mWeb Chrome - Our PRandroid_web_bug.movIn stating, doing the same thing, we didn't get the bug: Android: mWeb Chrome - stagingandroid_web_main.movI don't know how it could be related to our PR, what do you think? Thanks. |
|
it seems to be related to notifications, i dont think we have touched this part right? my guess is that it could be a problem with the build .. try to remove the node modules and reinstall npm and restart the server |
|
Looks good but looks like we hit some merge conflicts. @abzokhattab can you merge in the latest main? |
…-scanned-violation-visibility
…-scanned-violation-visibility
|
there we go .. resolved the conflicts @blimpich |
|
@abzokhattab it looks like we are decreasing test coverage for ReportPreviewActionUtils.ts and MoneyRequestReportTransactionList.tsx. Can maintain their existing levels of coverage (or ideally improve them slightly? We don't want to contribute to them becoming less well covered. Good job on increasing the other three files ⬆️ 👍 |
|
I added more test cases in the |
|
Yeah I think that's good, thank you for adding more tests! |
|
✋ 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/blimpich in version: 9.2.30-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.30-6 🚀
|
Explanation of Change
Fixed Issues
$ #70038
PROPOSAL: #70038 (comment)
Tests
Offline tests
Same as 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
Android: Native
Screen.Recording.2025-09-12.at.20.07.35.mov
Android: mWeb Chrome
iOS: Native
Screen.Recording.2025-09-12.at.20.04.05.mov
iOS: mWeb Safari
Screen.Recording.2025-09-13.at.00.04.14.mov
MacOS: Chrome / Safari
Screen.Recording.2025-09-12.at.20.02.41.mov
MacOS: Desktop
Screen.Recording.2025-09-13.at.00.16.56.mov