-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix/19496 2fa steps refactor #23060
Fix/19496 2fa steps refactor #23060
Conversation
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.
Left few minor comments, overall LGTM 👌
src/pages/settings/Security/TwoFactorAuth/Steps/IsEnabledStep.js
Outdated
Show resolved
Hide resolved
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.
Besides the comments, LGTM!
src/pages/settings/Security/TwoFactorAuth/StepWrapper/StepWrapper.js
Outdated
Show resolved
Hide resolved
src/pages/settings/Security/TwoFactorAuth/StepWrapper/StepWrapper.js
Outdated
Show resolved
Hide resolved
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.
Left a couple comments. In general, LGTM 🙂
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
@aimane-chnaif @deetergp I'll be OOO from tomorrow till next Friday, but if you request any changes, someone from Callstack team would be able to take over this issue. |
I think we are almost close. Please fix lint. Please request my review once ready |
@aimane-chnaif ready! |
@aimane-chnaif Bump! |
On it now |
@deetergp what do you think about Bug 4 and 5? Definitely follow-up but just to confirm if it's bug or expected. |
Link is not translated. Seems like regression from #25164. So out of scope |
iOS app crashes on simulator after fulfill 2fa code. This is known bug - #18874 so out of scope ios-enable.mov |
The fact that Bug 5 already exists makes it out of scope. I feel the same way about Bug 4. |
On android native or mChrome, sometimes not auto-scrolled down to 2fa input while auto-focus is working. Confirmed also happening on staging so out of scope. scroll.movandroid.mov |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios-disable.movios-enable.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.
Looks good except known issues which are out of scope
@deetergp all yours
🎯 @aimane-chnaif, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #25518. |
✋ 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/deetergp in version: 1.3.56-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.56-24 🚀
|
useEffect(() => { | ||
Session.clearAccountMessages(); | ||
}, []); |
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.
Coming from #28937. Not really a bug but more like an improvement. We should have cleared the errors on the clean up function as well.
Details
Fixed Issues
$ #19496
PROPOSAL: #19496
Tests
Offline tests
N/A
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
Screen.Recording.2023-07-18.at.08.45.37.mp4
Mobile Web - Chrome
Screen.Recording.2023-07-19.at.10.53.46.mp4
Mobile Web - Safari
Simulator.Screen.Recording.-.iPhone.14.-.2023-07-18.at.08.53.56.mov
Desktop
Screen.Recording.2023-07-18.at.08.51.25.mp4
iOS
Simulator.Screen.Recording.-.iPhone.14.-.2023-07-18.at.08.57.20.mov
Android
Screen.Recording.2023-07-19.at.10.47.10.mp4