-
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
[HOLD for payment 2023-07-14] Web - First cell of magic input field is not focused on clicking 'Didn't receive a magic code' link #22258
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @MariaHCD ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The first cell of the magic input is not focused upon resending the code. What is the root cause of that problem?The input focus is not restored in the App/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js Lines 180 to 188 in 4f9f428
What changes do you think we should make in order to solve the problem?The focus should be restored by calling What alternative solutions did you explore? (Optional)N/A |
Looking to see if this is related to #21724 |
Hi @MariaHCD, I don't think this is a bug. It's the expected result. After a failed validation, we decided to blur the input in #20169 (comment). |
Regardless, focusing the first cell isn't a good idea. Because if you type one single number it'll auto-submit because you have 6 digits in the input. What do you think? |
In this case, there was no failed validation. The user just requested for a new code.
Oh, interesting. Why does it auto-submit when only a single digit has been entered? |
@rushatgabhane I can address this issue by changing the if condition in my PR to
I limited the |
@MariaHCD sorry, I misunderstood this issue. The steps to get this bug are -
Expected: input is cleared and focused |
@MariaHCD |
@HezekielT yes please, could you please raise a PR since it's under regression period |
Even if you don't submit a code at all and then click resend code, the input is blurred. |
Ok I will do that now @MariaHCD @rushatgabhane Sorry for the regression. |
@HezekielT All good, please create the PR. Thanks! The fix you outlined here looks like it will fix this! |
ahh, got it! |
@MariaHCD @rushatgabhane PR is ready! Sorry for the delay and for the regression once again. |
Cp'd! Removing the blocker label. |
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
@zanyrenney this deploy blocker was a regression and was already fixed here. We just need to pay out the reporting bonus to @Natnael-Guchima. |
No problem. Thanks @MariaHCD |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.37-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-07-14. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Let's update the existing regression test here. Specifically, I've just added steps 12 & 13
|
I think this step of the regression test should be changed to
We show
|
Nice catch, @HezekielT! Updated. |
Added the issue for the regression test. |
#22258 (comment) as per this comment, creating an upwork job specifically for reporting bonus. |
I have applied to the job. Thanks @zanyrenney |
Offer sent! |
Accepted the offer. Thank you. |
That is all 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!
Action Performed:
Action Performed:
Expected Result:
The first cell of the magic code input field should be focused
Actual Result:
The first cell of the magic code input field is not focused
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.36-4
Reproducible in staging?: y
Reproducible in production?: n
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
Notes/Photos/Videos: Any additional supporting documentation
Screencast.from.2023-07-05.13-57-21.mp4
Recording.3417.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Natnael-Guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688554945270799
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: