Support Time expense type in Search#77753
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@DylanDylann 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] |
JmillsExpensify
left a comment
There was a problem hiding this comment.
Part of an on-going product initiative.
| height={20} | ||
| width={20} | ||
| height={typeIconSize} | ||
| width={typeIconSize} |
There was a problem hiding this comment.
Why do we need to adjust the size of the time icon? Can we use the correct icon size instead of manually customizing the size for each item?
There was a problem hiding this comment.
the icon was 16x16 on the design, so I had to customize the size based on the type to keep all the others at 20x20. I don't think there's another way to achieve this here, without modifying the svg itself. I guess this difference in size is just due to visual adjustment, cause the clock icon looks unusually big when it has the same size as the others
@dannymcclain this is what it looks like now (cash icon is 20x20, clock 16x16). is it okay?
There was a problem hiding this comment.
I mean that we should request time icon in correct size from the design team
There was a problem hiding this comment.
oh, okay. @Expensify/design could we get a modified icon? 🙏
There was a problem hiding this comment.
🤔 Hmm, let's try this one:
clock.svg.zip
And here's a mock with all the different icons at 20x20 using the clock icon I just provided above:

|
@mhawryluk Please merge the latest main. Some changes have already been merged in #77508 |
|
The rest looks fine |
|
@mhawryluk Please ping me when the update is completed |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-12-22.at.15.18.02.movAndroid: mWeb ChromeScreen.Recording.2025-12-22.at.15.20.01.moviOS: HybridAppScreen.Recording.2025-12-22.at.15.18.56.moviOS: mWeb SafariScreen.Recording.2025-12-22.at.15.25.12.movMacOS: Chrome / SafariScreen.Recording.2025-12-22.at.15.13.40.mov |
|
@mhawryluk Could you merge the new main? cc @grgia for final review |
merged main ^^ |
|
✋ 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/grgia in version: 9.2.96-1 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.96-6 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.96-6 🚀
|
|
🚀 Deployed to production by https://github.com/arosiclair in version: 9.2.96-6 🚀
|


Explanation of Change
Displays type icon/label for time expenses in Reports tab. Allows filtering by expense-type:time.
Fixed Issues
$ #77381
$ #77382
PROPOSAL: N/A
Tests
Offline tests
N/A
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
Nagranie.z.ekranu.2025-12-18.o.11.36.59.mov
Android: mWeb Chrome
Nagranie.z.ekranu.2025-12-18.o.11.33.07.mov
iOS: Native
Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-12-18.at.11.28.47.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2025-12-18.at.11.22.58.mp4
MacOS: Chrome / Safari
Nagranie.z.ekranu.2025-12-18.o.11.17.23.mov