-
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
Display error beneath magic code input field for 2FA #21595
Conversation
@eVoloshchak 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] |
Reviewer Checklist
Screenshots/VideosMobile Web - ChromeMobile Web - SafariDesktopiOS |
We did not find an internal engineer to review this PR, trying to assign a random engineer to #21545... Please reach out for help on Slack if no one gets assigned! |
Android app isn't working for me 😭 but all other screenshots are up - will look to see if I can find someone to help test this for me while I figure out what's going on with the sim |
I only posted for Web 😅 is the rest required here? |
😅 I'm just following the checklist, but it's better to be too thorough than not thorough enough |
cc: @francoisl since you're doing the android app test 🙇 |
@eVoloshchak, @s77rt's got this one and reviewed the initial PR that introduced this regression so I'm removing your assignment 🙇 |
✋ 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/francoisl in version: 1.3.33-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.33-4 🚀
|
Regression fix from #20732
Details
Ensures we display the appropriate error message below the code input field for both the magic code and 2FA code views.
Fixed Issues
$ #21545
PROPOSAL: N/A Regression
Tests
Sign in
without adding a 2FA code and confirm you see thePlease enter your two-factor code
error messageIncorrect Two Factor Authentication code. Please try again
error messageOffline tests
You appear to be offline
message and iconSign In
button is disabledQA Steps
Sign in
without adding a 2FA code and confirm you see thePlease enter your two-factor code
error messageIncorrect Two Factor Authentication code. Please try again
error messagePR 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
Screen.Recording.2023-06-26.at.11.16.08.mov
Mobile Web - Chrome
Screen.Recording.2023-06-26.at.11.48.48.mov
Mobile Web - Safari
Simulator.Screen.Recording.-.iPhone.14.-.2023-06-26.at.11.43.07.mp4
Desktop
Screen.Recording.2023-06-26.at.11.18.14.mov
iOS
Simulator.Screen.Recording.-.iPhone.14.-.2023-06-26.at.11.42.37.mp4
Android