-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Awaiting payment on 23/08/24] [$250] Pressing Tab
in the magic code screen does not move to next magic code input
#45416
Comments
Triggered auto assignment to @miljakljajic ( |
Tab
in the magic code screen does not move to next magic code input
ProposalPlease re-state the problem that we are trying to solve in this issue.Pressing Tab in the magic code screen does not move to next magic code input What is the root cause of that problem?We don't handle Tab press on What changes do you think we should make in order to solve the problem?Add Tab key press logic on
RESULT New-Expensify.14.mp4What alternative solutions did you explore? (Optional) |
@miljakljajic Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@miljakljajic Still overdue 6 days?! Let's take care of this! |
@miljakljajic 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@miljakljajic Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
@miljakljajic this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@miljakljajic 12 days overdue now... This issue's end is nigh! |
Tab
in the magic code screen does not move to next magic code input Tab
in the magic code screen does not move to next magic code input
Job added to Upwork: https://www.upwork.com/jobs/~01cf3849877e81009e |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The cursor jumps to Didn't receive a magic code? if 30 sec elapses or sign in button What is the root cause of that problem?The magic code input actually has only 1 input App/src/components/MagicCodeInput.tsx Line 368 in 032a8fc
The 6 fields are View with manual focus highlighting behavior App/src/components/MagicCodeInput.tsx Line 401 in 032a8fc
So when tabbing, it will just move directly to buttons below. What changes do you think we should make in order to solve the problem?We need to manually handle the tabbing behavior, just like we did for arrow keys. So in App/src/components/MagicCodeInput.tsx Line 335 in 032a8fc
If the user presses tab, it's forward navigation and the new focused index will be the one on the right, otherwise. If the user presses shift also, it's backward tabbing and the one we should focus next would be the one on the left. If the new index is within range, we prevent default and focus on that index, if it's not in range, that means the user wants to navigate outside of the magic code inputs and we should do nothing and let the browser handle the rest. What alternative solutions did you explore? (Optional)We can check and possibly handle other key combination with |
Thanks for your proposals @nyomanjyotisa @daledah. Proposal from @daledah looks most complete to me, lets assign them 👍 🎀 👀 🎀 |
Triggered auto assignment to @srikarparsi, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@miljakljajic, @srikarparsi, @ishpaul777 Eep! 4 days overdue now. Issues have feelings too... |
waiting for final proposal review cc @srikarparsi |
Looks good to me as well, thanks for the bump |
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @daledah You have been assigned to this job! |
@ishpaul777 this PR is ready for review. |
Is this one coming up for payment this week? I noticed the PR was deployed to prod, but seems like the automation has failed |
Tab
in the magic code screen does not move to next magic code input Tab
in the magic code screen does not move to next magic code input
Yes, I believe so thank you @miljakljajic |
@daledah it doesn't look like you've applied to the job on upwork. Can you please either apply or share your upwork profile so we can get an offer sent to you? |
@ishpaul777 has been paid - we can close this out when we hear from @daledah - please share your profile or apply to the job. |
@miljakljajic, @srikarparsi, @ishpaul777, @daledah Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Update above melvin #45416 (comment) |
@miljakljajic Here's my profile https://www.upwork.com/freelancers/~0138d999529f34d33f, could you help send the offer? Thx |
@daledah 's offer here: https://www.upwork.com/nx/wm/offer/103795834 |
@miljakljajic I accepted it |
Paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.6-4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dylanexpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1721030930518949
Action Performed:
Tab
keyExpected Result:
The cursor moves to the next input for magic code
Actual Result:
The cursor jumps to Didn't receive a magic code? if 30 sec elapses or
sign in
buttonWorkaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Recording.331.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ishpaul777The text was updated successfully, but these errors were encountered: