Search: Don't display violations that are dismissed#70603
Conversation
|
@s77rt Amazing! Thank you so much! |
|
@getusha All yours! |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid-rec-36.webmAndroid: mWeb Chromeandroid-rec-37.webmiOS: HybridAppSimulator.Screen.Recording.-.iPhone.15.Pro.-.2025-09-17.at.13.50.40.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.-.2025-09-17.at.13.53.24.mp4MacOS: Chrome / SafariScreen.Recording.2025-09-17.at.2.37.33.in.the.afternoon.movMacOS: DesktopScreen.Recording.2025-09-17.at.1.55.32.in.the.afternoon.mov |
|
@getusha Oh I saw the checklist and I thought you had approved, all good I assume? |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Just wanted to test offline, all good. |
|
🚀 Deployed to staging by https://github.com/pecanoro in version: 9.2.16-0 🚀
|
|
@pecanoro or @puneetlath (bug reporter) may be able to check this one |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.2.16-14 🚀
|
| }; | ||
| }, [transactionItem]); | ||
|
|
||
| const transactionViolations = useMemo(() => getTransactionViolations(transactionItem, violations), [transactionItem, violations]); |
There was a problem hiding this comment.
We missed filtering violations based on users via shouldShowViolation, which we fixed in #70685
Explanation of Change
getReportPrimaryActioninclude dismissed violations which lead to incorrect primary button message. This is fixed too.Fixed Issues
$ #66670
$ #70598
PROPOSAL:
Tests
Test 1:
Mark as Cashbutton is no longer displayedTest 2:
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))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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Screen.Recording.2025-09-15.at.10.59.27.PM.mov
Screen.Recording.2025-09-16.at.6.40.39.PM.mov