Fix change language also trigger submit Sign in validation form when magic codes are fullfilled#22781
Conversation
|
@mananjadhav Please 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] |
| @@ -149,7 +149,7 @@ function MagicCodeInput(props) { | |||
|
|
|||
| // We have not added the editIndex as the dependency because we don't want to run this logic after focusing on an input to edit it after the user has completed the code. | |||
There was a problem hiding this comment.
@hoangzinh Let's add a comment like this so that we don't end up adding this again.
There was a problem hiding this comment.
I updated the comment. Please help me review it again. Thanks
mananjadhav
left a comment
There was a problem hiding this comment.
I am approving so that you internal engineer is assigned, but @hoangzinh waiting for you to add the comment.
Reviewer Checklist
Screenshots/VideosWebweb-language-selector-use-effect.movMobile Web - Chromemweb-chrome-language-selector-use-effect.movMobile Web - Safarimweb-safari-language-selector-use-effect.movDesktopdesktop-language-selector-use-effect.moviOSios-language-selector-use-effect.movAndroidandroid-language-selector-use-effect.mov |
mananjadhav
left a comment
There was a problem hiding this comment.
Thanks for the comment
|
@mountiny All yours 🎀 👀 🎀 C+ reviewed |
|
✋ 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/mountiny in version: 1.3.42-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.42-26 🚀
|
Details
Fixed Issues
$ #22037
PROPOSAL: #22037 (comment)
Tests
Offline tests
PR changes not affected by network status
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Web
Screen.Recording.2023-07-13.at.08.33.23-.web.mov
Mobile Web - Chrome
Screen.Recording.2023-07-13.at.08.44.08.-.android.chrome.mov
Mobile Web - Safari
Screen.Recording.2023-07-13.at.08.52.11.-.ios.safari.mov
Desktop
Screen.Recording.2023-07-13.at.08.39.45.-.desktop.mp4
iOS
Screen.Recording.2023-07-13.at.08.52.57.-.ios.mp4
Android
Screen.Recording.2023-07-13.at.08.50.27.-.android.mp4