Add has filter#69498
Conversation
|
@ahmedGaber93 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] |
|
@luacmartins small request for this case: I think we want |
|
@Expensify/product-pr we should align on this one. When creating this filter for |
|
I think it's reasonable that someone might want to filter to find reports with supporting attachments in the same vein as expenses with supporting attachments. Especially as historically the report is the only place you could add supporting attachments. |
|
Yeah, that makes sense to me too. |
|
Ok, I worry that's going to make the placement of the filter in the |
|
@ahmedGaber93 Comments addressed, please re-review |
|
@JS00001 thanks for update. They are working well now except for the RHP bug
the selected value is not reset after uncheck it on RHP 20250905103544645.mp4 |
|
@ahmedGaber93 Thanks for catching that, updated |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppa.mp4Android: mWeb Chromeaw.mp4iOS: HybridAppCan't log in to the iOS app, but the PR is cross platforms and should work well on iOS like the others iOS: mWeb Safariiw.mp4MacOS: Chrome / Safariw.mp4MacOS: Desktopd.mp4 |
|
🎯 @ahmedGaber93, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #69999. |
|
🚧 @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, Desktop, 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/JS00001 in version: 9.2.3-0 🚀
|
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.2.5-0 🚀
|
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.2.8-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.2.8-4 🚀
|
Explanation of Change
Adds support for the
has:receiptfilterFixed Issues
$ https://github.com/Expensify/Expensify/issues/541382
Tests
Pre-condition: an account with transactions with and without receipts
Reports > Explorehas:receiptshows up as a suggestionreceiptreceiptis highlighted in the search barHasfilter in theExpensesectionReceiptReceiptand running the search return the correct resultsOffline tests
N/A
QA Steps
Same as tests
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))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./** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)Screenshots/Videos
Screen.Recording.2025-08-28.at.2.30.14.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop