fix: preserve magic code when login#23023
Conversation
|
@aimane-chnaif 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] |
|
@aimane-chnaif Sorry for this inconvenience. I had a mistake with the form name. Can you help check the PR to fix the regression? I'm recording the video on ios and android and will post them in a few mins |
| value: { | ||
| errors: null, | ||
| loadingForm: CONST.FORMS.VALIDATE_CODE_FORM, | ||
| loadingForm: CONST.FORMS.RESEND_VALIDATION_FORM, |
There was a problem hiding this comment.
This form name is already used in resend page. We should introduce new name, maybe RESEND_VALIDATE_CODE_FORM
|
@aimane-chnaif I just updated my PR. Can you help review? |
Screen.Recording.2023-07-18.at.11.58.55.mov@aimane-chnaif My PR fixed it. Thanks |
|
Still codes are cleared while logging in. Screen.Recording.2023-07-18.at.6.10.37.AM.mov |
|
Nvm, I was testing on Safari and code changes are not applied for some reason. Tests well after force refresh |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-07-18.at.6.21.27.AM.movMobile Web - ChromeMobile Web - SafariScreen.Recording.2023-07-18.at.6.31.21.AM.movDesktopiOSAndroid |
aimane-chnaif
left a comment
There was a problem hiding this comment.
@danieldoglas let's CP this as original PR was already deployed to staging
|
🚀 Deployed to staging by https://github.com/danieldoglas in version: 1.3.42-13 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.42-26 🚀
|
|
🚀 Deployed to staging by https://github.com/danieldoglas in version: 1.3.44-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.3.44-2 🚀
|
Details
Fixed Issues
$ #21293
$ #23087
PROPOSAL:
Tests
Offline tests
QA Steps
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-18.at.00.02.00.mp4
Mobile Web - Chrome
original-BCA41B7B-9BE5-4E54-B46C-BE8051DD235D.mp4
Mobile Web - Safari
original-A95D8992-3BB4-4BFC-8348-AACAF4E6B533.mp4
Desktop
Screen.Recording.2023-07-18.at.00.20.35.mov
iOS
Screen.Recording.2023-07-18.at.00.30.48.mov
Android
Screen.Recording.2023-07-18.at.00.44.07.mp4