Refactor/16226/auth screens components migration to functional#27764
Conversation
cec9cc1 to
556bddb
Compare
|
@marcochavezf 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] |
|
I can review if this requires C+ |
|
Hi @situchan, yes please, I will assign you as C+ reviewer |
|
Hi @barttom, there are some lint errors and unverified commits. For the unverified commits, I think the solution will be maybe to force push the branch with verified commits. |
556bddb to
1120abe
Compare
|
thanks @marcochavezf, fixed :) |
situchan
left a comment
There was a problem hiding this comment.
Code looks good. Let's just fix lint
04dec83 to
873b249
Compare
|
@situchan fixed |
|
Job 3 is failing. Please pull main |
873b249 to
5b08a59
Compare
|
@situchan fixed |
5b08a59 to
1af44fc
Compare
|
Please add test case |
1af44fc to
ef4b623
Compare
test case added |
ef4b623 to
3f73234
Compare
|
@situchan could You review this? |
|
reviewing today |
|
@situchan can we move it forward? |
|
friendly bump @situchan |
|
@barttom that PR was merged. Please pull main |
bef9ef6 to
a16c3ff
Compare
|
@situchan done :) |
|
Crash on resize window on web. Already happening on main so out of scope. Screen.Recording.2023-10-25.at.11.05.37.PM.mov |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
marcochavezf
left a comment
There was a problem hiding this comment.
Code LGTM, thank you guys!
|
✋ 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/marcochavezf in version: 1.3.92-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.92-4 🚀
|
|
🚀 Deployed to staging by https://github.com/marcochavezf in version: 1.3.93-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.93-1 🚀
|
| App.openApp(); | ||
| } else { | ||
| App.reconnectApp(this.props.lastUpdateIDAppliedToClient); | ||
| App.reconnectApp(lastUpdateIDAppliedToClient); |
There was a problem hiding this comment.
As we are aware already, there's hidden bug where lastUpdateIDAppliedToClient is NOT the updated updateID we saved in Onyx as this isn't added in useEffect dependency
Details
Migration component from lass to functional
Fixed Issues
$ #16226
PROPOSAL: #16226
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
Mobile Web - Chrome
Mobile Web - Safari
16226_web.mp4
Desktop
iOS
16226_iphone.mp4
Android
16226_android.mp4