-
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
Refactor/16226/auth screens components migration to functional #27764
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 :) |
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.
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 |
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.
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.
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 🚀
|
@@ -160,7 +170,7 @@ class AuthScreens extends React.Component { | |||
if (isLoadingApp) { | |||
App.openApp(); | |||
} else { | |||
App.reconnectApp(this.props.lastUpdateIDAppliedToClient); | |||
App.reconnectApp(lastUpdateIDAppliedToClient); |
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.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
Mobile Web - Chrome
Mobile Web - Safari
16226_web.mp4
Desktop
iOS
16226_iphone.mp4
Android
16226_android.mp4