-
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
Submit recovery code when enter is pressed #28409
Submit recovery code when enter is pressed #28409
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] |
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.
This PR is a regression and should have been addressed to me.
@alitoshmatov The enter key is not working in safari? |
@abdulrahuman5196 Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-09-30.at.14.36.21.mp4 |
If so could you kindly link any GH is available or report a new bug in bugs slack channel? |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-09-30.at.2.42.50.PM.mp4Mobile Web - Chromeaz_recorder_20230930_172935.mp4Mobile Web - SafariDesktopScreen.Recording.2023-09-30.at.5.34.11.PM.mp4iOSScreen.Recording.2023-09-30.at.5.21.59.PM.mp4AndroidScreen.Recording.2023-09-30.at.5.24.29.PM.mp4 |
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.
Changes looks good and works well. Reviewers checklist is also complete.
Enter seems to not work in safari alone, but its not working in other place like login as well. So I think its a different common issue. So I am approving. Do let me know if you think differently.
All yours. @MonilBhavsar
🎀 👀 🎀
C+ Reviewed
Could not find existing issue. Reported it in the slack - https://expensify.slack.com/archives/C049HHMV9SM/p1696083514018509 |
@abdulrahuman5196 pressing 'go' button works for me on safari and native iOS app. I'm on iOS 17.0.2 |
@MonilBhavsar Another issue is created for this #28569, and it seems like this is fixed by another PR. Would be great if we could merge this pr if no other issues left |
Sounds good, thanks! |
✋ 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/MonilBhavsar in version: 1.3.78-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.78-4 🚀
|
🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 1.3.79-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.3.79-5 🚀
|
Details
Submit recovery code when enter is pressed
Fixed Issues
$ #28092
PROPOSAL: #28092 (comment)
Tests
Offline tests
Same as tests
QA Steps
Same as tests
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
enter-key-web.mov
Mobile Web - Chrome
enter-key-mweb.mp4
Mobile Web - Safari
enter-key-safari.mp4
Desktop
enter-key-desktop.mov
iOS
enter-key-ios.mp4
Android
enter-key-android.mp4