-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment to update the variable name
src/CONST.ts
Outdated
@@ -6165,6 +6165,9 @@ const CONST = { | |||
ASC: 'asc', | |||
DESC: 'desc', | |||
}, | |||
GROUPED_BY: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GROUPED_BY: { | |
GROUP_BY: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
🚀 Deployed to production by https://github.com/francoisl in version: 9.1.2-1 🚀
|
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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