-
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
Trim leading and trailing space from email/phone input in new contact method page #17817
Conversation
@luacmartins @Santhosh-Sellavel 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] |
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.
LGTM!
@Santhosh-Sellavel PR is ready for review. Should we able to merge asap, so eligible for timeline bonus. Thank you. |
Will try to get to it soon, but we have still time left until Wednesday for the timeline bonus! |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-04-25.at.12.52.06.AM.movMobile Web - ChromeScreen_Recording_20230425_011911_Chrome.mp4Mobile Web - SafariSimulator.Screen.Recording.-.iPhone.14.-.2023-04-25.at.01.07.41.mp4DesktopScreen.Recording.2023-04-25.at.1.05.22.AM.moviOSSimulator.Screen.Recording.-.iPhone.14.-.2023-04-25.at.01.09.20.mp4AndroidScreen_Recording_20230425_011449_New.Expensify.1.mp4 |
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.
LGTM tests well!
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.5-1 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.5-6 🚀
|
@Santhosh-Sellavel @luacmartins PR is ready for review.
Details
Within new contact method page it allows save email/phone with leading and trailing space, so within ui leading/tariling spaces makes improper indentation while display. Within this pr we updated logic, so during save it will trim leading/trailing space from the login input.
Fixed Issues
$ #17770
PROPOSAL: #17770 (comment)
Tests
Offline tests
QA Steps
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.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
Web
Chrome
Web-Chrome.mov
Safari
Web-Safari.mov
Mobile Web - Chrome
MobileWeb-Chrome.mp4
Mobile Web - Safari
MobileWeb-Safari.mov
Desktop
Desktop.mov
iOS
iOS.mov
Android
Android.mp4