-
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
Fix menu item padding #14855
Fix menu item padding #14855
Conversation
@aimane-chnaif @neil-marcellini 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] |
@cristipaval should we wait for design confirmation here? |
yeah, I think we better wait for @shawnborton to confirm it looks as expected. He is ooo today, so I think he will review it tomorrow the earliest. |
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.
This looks good to me. I agree that the top back arrow feels a bit strange, but let's solve that in a different PR as that's been that way for a long time. The goal of this PR is to undo the left padding regression that was added, and I think it solves that. |
@shawnborton which one is correct? Here's full diff video: (former is production, latter is this PR) diff.mov@cristipaval Also, please pull from latest |
Thank you @shawnborton ! All on you @aimane-chnaif and @neil-marcellini |
Why don't we fix it now? It doesn't seem that hard. |
That works for me. |
Feedback addressed. |
diff2.movI feel page title is too close to back button. It looks like previous page's title, similar to iOS default system navigation. |
I quite like it actually! |
@cristipaval are you gonna fix @shawnborton's last feedback or already ready for final review? |
yes sorry, reviewing now |
@cristipaval could you please pull from |
@aimane-chnaif I think you can review without pulling from main since there are no merge conflicts. You could also pull main into the branch yourself if you want. |
Sure! |
yes locally, it's always safe to sync with |
@cristipaval I fully tested all the pages where - wrapperStyle={[styles.ph2]} |
Hey @aimane-chnaif ! Thanks a lot for the rigorous testing! Of course in this case it makes sense to merge main and fix the regressions. I'll do it asap. |
@aimane-chnaif Could you please review again? |
Reviewer Checklist
Screenshots/Videos |
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 great, time to merge!
Performance Comparison Report 📊Significant Changes To Duration
Show details
Meaningless Changes To DurationShow entries
Show details
|
@Expensify/mobile-deployers 📣 Please look into this performance regression as it's a deploy blocker. |
🚀 Deployed to staging by https://github.com/neil-marcellini in version: 1.2.77-0 🚀
|
🚀 Deployed to staging by https://github.com/neil-marcellini in version: 1.2.77-0 🚀
|
I think I found a regression. The phone number is not inline with e-mail in contact methods Could someone please confirm whether this is intended or not? |
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.2.77-4 🚀
|
Details
Removes the extra inner padding when MenuItem has no left icon.
Fixed Issues
$ #14745
Tests and QA Steps
Offline tests
N/A
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
web.mov
Mobile Web - Chrome
android.chrome.mov
Mobile Web - Safari
ios.safari.mov
Desktop
desktop.mov
iOS
ios.native.mov
Android
android.native.mov