-
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
Autofocus magic code input #15101
Autofocus magic code input #15101
Conversation
|
Reviewer Checklist
Screenshots/VideosDue to urgency and simplicity of the PR and also because Francois included the screens in the OP, I am includeingn only two videos in web and ios web WebScreen.Recording.2023-02-13.at.20.15.43.movMobile Web - ChromeMobile Web - SafariScreen.Recording.2023-02-13.at.20.16.29.movDesktopiOSAndroid |
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.
Looking good
…deForm Autofocus magic code input (cherry picked from commit 19d8a0b)
…-15101 🍒 Cherry pick PR #15101 to staging 🍒
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.2.71-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
QAed on Android, mWeb Android, Chrome & Desktop; @vit's QA steps in https://expensify.slack.com/archives/C03TQ48KC/p1676327607824869?thread_ts=1676315168.864729&cid=C03TQ48KC included QA for this PR for iOS and mWeb iOS. |
🚀 Deployed to production by https://github.com/francoisl in version: 1.2.71-1 🚀
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
When getting to the magic code page after entering a primary login, automatically focus the Magic Code input.
cc @narefyev91 @mountiny
Fixed Issues
Follow-up for #15081 - #14853
Tests
Offline tests
N/A
QA Steps
Same as tests, but will be QA'ed along with #15081
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.Note: there seems to be a bug right now with GH that's preventing people from attaching
.mov
files, so I had to zip them below :|Screenshots/Videos
Web
gh15101_2.zip
Mobile Web - Chrome
Screen Recording 2023-02-13 at 11.41.04 AM.zip
Mobile Web - Safari
gh15101_1.zip
Desktop
Screen Recording 2023-02-13 at 11.47.58 AM.zip
iOS
Screen Recording 2023-02-13 at 11.47.13 AM.zip
Android
Screen Recording 2023-02-13 at 11.40.28 AM.zip