-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use small icon in tabs #50324
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested well!
@jasperhuangg, could you please re run the checks? |
@ShridharGoel please fix conflicts! |
Bump @ShridharGoel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop