[Experimental] Remove left-nav icons from Spend, Account, and Workspace Editor menus - #96689
[Experimental] Remove left-nav icons from Spend, Account, and Workspace Editor menus#96689MelvinBot wants to merge 1 commit into
Conversation
Co-authored-by: Danny McClain <dannymcclain@users.noreply.github.com>
|
🚧 dannymcclain has triggered a test Expensify/App build. You can view the workflow run here. |
|
I looked into the checks. There's no failing check that a code push can fix — nothing to change here. The one red check is
That check just verifies the boxes in the PR Author Checklist section of the PR body are ticked. It's a human step — I can't complete it by pushing code. Go through the checklist in the description and check the items off (this is an experimental preview PR, so most are quick), and that check will pass on the next run. Everything else is green or still running, and I don't expect any real failures:
I sanity-checked the only change that could plausibly trip TL;DR: No code fix needed. Tick the PR Author Checklist boxes in the description to clear the only red check. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
Explanation of Change
dannymcclainto preview a design change. Not tied to an approved issue/proposal.This removes the left-side icons from the menu rows in three left-hand navigation menus, keeping the text labels intact:
SearchTypeMenuWideno longer passes an icon to eachSearchTypeMenuItem, and the now-unused lazy-icon lookup was removed.SettingsMenuItemno longer passesicon/iconTypetoMenuItem.WorkspaceInitialPageno longer passesiconto eachHighlightableMenuItem.Only the left-hand-nav leaf rows are affected; right-side chevrons/accessory icons and the workspace avatar are untouched. Each change is scoped to a component used solely by the respective menu, so no other screens are impacted.
Note: on the Spend sidebar, when collapsed the rows previously showed only icons — with icons removed the collapsed state has no glyphs. Flagging in case the collapsed behavior needs a follow-up decision.
Fixed Issues
$
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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