fix: differentiate icons for custom and standard export formats#88157
fix: differentiate icons for custom and standard export formats#88157samranahm wants to merge 8 commits intoExpensify:mainfrom
Conversation
|
@aimane-chnaif 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] |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates export-related UI to visually distinguish standard export templates from custom templates by using a dedicated “table-pencil” icon for custom templates across search filters, bulk actions, and report export menus.
Changes:
- Added a new
TablePencilSVG asset and wired it into the lazy expensify icon chunk. - Updated export template pickers/menus (search filters, bulk actions, report header) to choose
TablevsTablePencilbased on whether the template is standard. - Updated the “Exported to” search list cell to render the new icon for template-based exports.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersExportedToPage.tsx | Chooses Table vs TablePencil for export template filter items. |
| src/hooks/useSelectedTransactionsActions.ts | Differentiates icon per export template in selected-transactions export options. |
| src/hooks/useSearchBulkActions.ts | Differentiates icon per export template in bulk export options. |
| src/components/Search/SearchList/ListItem/ExportedIconCell.tsx | Adds rendering for custom-template export icon in the “Exported to” column. |
| src/components/Search/FilterDropdowns/ExportedToSelectPopup.tsx | Chooses Table vs TablePencil in exported-to multi-select popup items. |
| src/components/MoneyReportHeader.tsx | Differentiates icon per export template in report header export menu. |
| src/components/Icon/chunks/expensify-icons.chunk.ts | Registers TablePencil in the expensify icon bundle. |
| assets/images/table-pencil.svg | New icon asset used for custom export templates. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
|
|
Videos are looking good to me 👍 |
|
Are all of those default templates? |
|
We should be updating it everywhere any of these options show up. |
@flaviadefaria we implemented this change in bulk action as well. screen_1776444830931.mp4 |
|
Awesome, thanks for confirming @samranahm! |
|
@samranahm looks like you picked up a conflict here. @aimane-chnaif can you review the PR? |
|
Resolving merge conflict. |
|
@aimane-chnaif PR is ready, please take a look when you have a moment. |
|
👋 @aimane-chnaif bump on review. Thanks! |

Explanation of Change
Fixed Issues
$ #88096
Tests
Exported to: Valuebutton next to search inputOffline tests
Same as test
QA Steps
Same as test
// TODO: These must be filled out, or the issue title must include "[No QA]."
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))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
Android.Native.mp4
Android: mWeb Chrome
Android.mWeb.Chrome.mp4
iOS: Native
IOS.Native.mp4
iOS: mWeb Safari
IOS.mWeb.Safari.mp4
MacOS: Chrome / Safari
macOS.Chrome.mp4