-
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-10-16] [$500] Log in - App doesn't switches to first digit on click on didn't recieved a magic code click #28553
Comments
Triggered auto assignment to @anmurali ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~019251bb2b1418cd16 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
ProposalPlease re-state the problem that we are trying to solve in this issueApp doesn't reset focus to first field on click on reset link What is the root cause of that problem?After resend we don't update focus state What changes do you think we should make in order to solve the problem?We can add App/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js Lines 178 to 182 in 7c86d09
What alternative solutions did you explore? (Optional)NA Screen.Recording.2023-10-01.at.00.27.31.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.App doesn't switch to the first digit when clicked on What is the root cause of that problem?We're not resetting the state of the magic code input when clicked on the link as seen here. What changes do you think we should make in order to solve the problem?We should reset the inputValidateCodeRef state here and add the following:
This is in sync with how we're handling this here. We might also encapsulate this functionality which is common across the two components into another common component and DRY the code a bit. What alternative solutions did you explore? (Optional)None |
@allroundexperts's proposal looks good to me. |
Triggered auto assignment to @marcaaron, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
If there is a place where we are already handling this then I think the solution would be to move that logic to a central location instead of duplicate it. Why do we have two files called |
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @allroundexperts Please request via NewDot manual requests for the Contributor role ($500) |
PR created #28757 |
@marcaaron They are a little similar but the two files have some key differences as seen in the images below: I think we can create a single component out of these two, but that will require a broader discussion involving the design team around the differences between the two components. (Eg on the sign in page, we're showing a timer while on the contacts page we aren't). As far as this bug is concerned, I think combining the two is out of scope. |
Interesting, but what is similar about them? This code you are proposed to add is similar to some others. Can we encapsulate it somehow? Or is it not worth doing? |
There are some inconsistencies between 2 pages but I think this was already discussed internally and leave them as is for now - #21619 (comment), #21104 (comment) |
I don't see how either comment relates to my concern about code reuse. Things can be different and share code. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.79-5 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-10-16. 🎊 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.
For reference, here are some details about the assignees on this issue:
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:
|
@anmurali, @allroundexperts, @marcaaron, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
This is more like UX improvement than bug and doesn't affect resend logic, so I don't propose regression test. |
@anmurali, @allroundexperts, @marcaaron, @aimane-chnaif Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Can I get a payment summary on this issue? |
@anmurali, @allroundexperts, @marcaaron, @aimane-chnaif Huh... This is 4 days overdue. Who can take care of this? |
|
This is eligible for bonus. Merged exactly in 72 hrs |
@anmurali, @allroundexperts, @marcaaron, @aimane-chnaif Eep! 4 days overdue now. Issues have feelings too... |
Added bonus |
I am closing this as this is just pending @allroundexperts payment on ND. |
$750 payment approved for @allroundexperts based on BZ summary. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
App should reset focus to first digit on click on 'Didn't recieved a magic code' link
Actual Result:
App doesn't reset focus to first digit on click on 'Didn't recieved a magic code' link
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.75-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
focus.does.not.go.to.first.digit.IOS.safari.1.mov
focus.does.not.get.back.to.first.digit.IOS.1.mov
focus.does.not.go.to.first.digit.mac.desktop.1.mov
focus.does.not.shift.to.first.digit.windows.chrome.1.mp4
android.chrome.focus.does.not.go.back.to.first.digit.1.mp4
0-02-01-5b5124654b336a88428c096bca2af934fe7cd8de0c4396514a036a7976d572e2_c299dac93520f303.1.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695578315038989
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @anmuraliThe text was updated successfully, but these errors were encountered: