Use small icon in tabs#50324
Conversation
|
@dubielzyk-expensify @thesahindia One of you needs to 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] |
|
Will upload mobile screenshots soon. |
|
Thanks. Let me know and I'll do a review 👍 |
Bump @ShridharGoel |
|
Bump @ShridharGoel |
|
@thesahindia Only 2 screenshots are pending, because I'm facing some issues on Android mweb and iOS native. Will add them once I'm able to use the app on these. |
|
If possible, kindly go ahead with the C+ review in the meantime.
|
What issue are you facing? Could you ask for help in the Slack channel? |
|
@dubielzyk-expensify, I have attached the screenshots in the comment above. |
Reviewer Checklist
|
|
The icon size is looking good but looking at the mocks in Figma vs the branch I've noticed a few discrepancies:
Once we fix that, we'll be good to go. cc @Expensify/design team as well :) |
|
Good catches, I agree with Jon's feedback. Also, just want to confirm that at this button size (40px tall) we are using a 4px gap between the icon and label? |
cc: @ShridharGoel |
@shawnborton In Figma we have the gap between text and icon set to |
|
I would say yeah - I don't think there's a good reason to have the styles slightly differ like that, I like making them even more consistent. What do you think? |
|
Code looks good to me although we should hold on design to see if these will need to change. |
|
Works for me! I'll make sure I update the Figma component. And just for clarity: we do want the gap between the icon and text to be |
|
Sweet, let's get confirmation from @ShridharGoel on that |
|
Thanks for the confirmation, I'll update it accordingly.
|
|
That looks correct to me based on the new styles. @Expensify/design if we feel like it's too tight, we can always update the gap for the tabs and medium buttons to be |
|
I think the screenshot above is too tight. If that's 4, then I'd vote 8. |
|
Feels pretty good to me from a design perspective 👍 |
|
Sounds good, let's go ahead and get this into final review! |
|
@ShridharGoel, you still haven't attached all the screenshots. |
|
@jasperhuangg, could you please re run the checks? |
|
@ShridharGoel please fix conflicts! |
Bump @ShridharGoel |
jasperhuangg
left a comment
There was a problem hiding this comment.
Please add screenshots @ShridharGoel
|
Just iOS native screenshot is pending, which is because there's some issue with that build on my setup. Will try it again. |
|
Sounds good, let's try to get this one wrapped up today if we can! |
What's the issue? Could you ask for help in the Slack channel? |
|
Found a thread on Slack which talks about the same issue which I was
getting:
https://expensify.enterprise.slack.com/archives/C01GTK53T8Q/p1704303546736909?thread_ts=1704303546.736909&cid=C01GTK53T8Q
Going to try these steps.
|
Any update @ShridharGoel? |
|
Apologies for the delay, this will be done within 2 days.
|
|
Any updates on this one today? We're close, let's get it over the finish line! |
|
Added the iOS native screenshot, that was the only pending thing. |
|
Thanks! |
|
✋ 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/jasperhuangg in version: 9.0.60-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.0.60-3 🚀
|








Details
Use small icon in tabs of create expense.
Fixed Issues
$ #49577
PROPOSAL: #49577 (comment)
Tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
MacOS: Desktop