Use Send icon for Submit in Reports/Search page#81915
Use Send icon for Submit in Reports/Search page#81915chuckdries merged 2 commits intoExpensify:mainfrom
Conversation
The Submit action used the Pencil icon on the Reports/Search page but the Send icon on the Home page. Update SearchUIUtils and the hook to use the Send icon consistently, matching the Home page and the AnimatedSubmitButton. Fixes Expensify#81398
|
@QichenZhu 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] |
|
@chuckdries 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] |
Code Review Complete ✅I've performed a comprehensive inline review of all code changes in this PR. Review Summary:
Files Reviewed:
The icon change from Pencil to Send is properly implemented across all necessary locations. The PR is ready for merge. |
QichenZhu
left a comment
There was a problem hiding this comment.
@MobileMage, could you fix the types, complete the checklist, and add screenshots? Thanks!
|
@QichenZhu The Submit/Pencil icon only appears in the search type menu sidebar, which is a desktop-only panel. On mobile, that sidebar is either hidden or only partially visible via the hamburger menu, and the specific menu items with our icon aren't shown there. |
|
@MobileMage, could you clarify what you mean by partially visible? From what I can see, the hamburger menu on mobile has the same icons as desktop. |
|
@MobileMage I see the Reports page is empty. Please create a few draft reports for testing. |
|
Thanks @QichenZhu , I've fixed these |
trjExpensify
left a comment
There was a problem hiding this comment.
Discovered via Home project and being updated for consistency. 👍 CC: @Expensify/design for vis!
|
Send it! |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 @chuckdries 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, 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/chuckdries in version: 9.3.17-0 🚀
|
|
🚀 Deployed to production by https://github.com/lakchote in version: 9.3.17-9 🚀
|

Explanation of Change
The Submit action used different icons on the Home page (Send/paper plane icon) vs the Reports/Search page (Pencil icon). This updates the Reports/Search page to use the Send icon, matching the Home page and the AnimatedSubmitButton.
Changes:
src/libs/SearchUIUtils.ts: Changed icon fromPenciltoSendin type signatures and usagesrc/hooks/useSearchTypeMenuSections.ts: Updated lazy icon loader fromPenciltoSendFixed Issues
$ #81398
PROPOSAL: #81398 (comment)
Tests
Offline tests
QA Steps
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari