Add grouping by reports functionality in search components#56850
Conversation
|
@allroundexperts 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] |
|
Open for initial review from C+, i will do checklist once we are 🟢 codewise |
|
Since this will likely get merged before the top query bar changes, maybe we can go ahead and add a temporary illustration to the top header? cc @Expensify/design Can you try both and show us how they look? |
|
Report with Receipt gets my vote! |
|
Nice, I can get down with that one! |
|
friendly bump @allroundexperts |
luacmartins
left a comment
There was a problem hiding this comment.
Minor comment to update the variable name
| ASC: 'asc', | ||
| DESC: 'desc', | ||
| }, | ||
| GROUPED_BY: { |
There was a problem hiding this comment.
| GROUPED_BY: { | |
| GROUP_BY: { |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromeandoid-web.moviOS: Nativeios.moviOS: mWeb Safariios-web.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
@ishpaul777 |
|
Looks like a bug 2025-02-18.20.27.02.mov |
|
Similar issue 2025-02-18.20.49.16.mov |
|
But overall the changes look good ! |
this is fixed
still looking into this one |
|
Looks like we have lots of conflicts that need to be resolved. |
|
@ishpaul777 |
|
Just rechecked |
puneetlath
left a comment
There was a problem hiding this comment.
Code looks good to me. Is there any test we could/should add?
|
@ZhenjaHorbach the reviewer checklist check also seems to be failing. Any idea why? |
|
Actually, I removed Sibtain's comment and it's passing now. |
I think because my checklist was a second 😅 |
|
✋ 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/puneetlath in version: 9.1.2-0 🚀
|
|
@ishpaul777 this PR introduced a bug, check here: #57157 (comment) |
|
i am raising a PR i found the fix PR here https://github.com/Expensify/App/pull/57186/files |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.1.2-1 🚀
|
|
This PR forgot to include group-by argument is saved search, which caused #60050 |



Explanation of Change
Made the following changes to the default filters on the Reports page:
Screen.Recording.2025-02-14.at.6.04.11.PM.mov
Screen.Recording.2025-02-14.at.6.04.35.PM.mov
Fixed Issues
$ #56785
PROPOSAL:
Tests
Precondition
Steps:
Offline tests
QA Steps
same as test steps
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.Screenshots/Videos
Android: Native
Screen.Recording.2025-02-19.at.4.31.27.AM.mov
Android: mWeb Chrome
Screen.Recording.2025-02-19.at.6.16.03.PM.mov
iOS: Native
Screen.Recording.2025-02-19.at.4.33.06.AM.mov
iOS: mWeb Safari
Screen.Recording.2025-02-19.at.4.50.21.AM.mov
Screen.Recording.2025-02-19.at.4.48.57.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2025-02-14.at.6.02.04.PM.mov
MacOS: Desktop
Screen.Recording.2025-02-19.at.6.56.13.PM.mov