-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 2024-07-22] [HOLD for payment 2024-07-17] [$250] 2FA – Two-factor authentication step 1 appears briefly when open 2FA option if it is enabled #43807
Comments
Triggered auto assignment to @muttmuure ( |
We think that this bug might be related to #vip-vsp |
@muttmuure FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.Two-factor authentication step 1 appears briefly when open 2FA option if it is enabled What is the root cause of that problem?We use a We also use a But now as the default value was This is the root cause What changes do you think we should make in order to solve the problem?We should set the default value to What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.The 2FA page shows the code page briefly when opening it. What is the root cause of that problem?The initial value/state of the current step to render is the codes page.
Then, we have this App/src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthSteps.tsx Lines 32 to 43 in 75c104b
What changes do you think we should make in order to solve the problem?Instead of using both useState and useEffect, we can use useMemo.
Then, we can remove the setCurrentStep from handleSetStep because TwoFactorAuthActions.setTwoFactorAuthStep will update the current step which will trigger the memo above. App/src/pages/settings/Security/TwoFactorAuth/TwoFactorAuthSteps.tsx Lines 45 to 49 in 75c104b
|
Not overdue |
@muttmuure Huh... This is 4 days overdue. Who can take care of this? |
Job added to Upwork: https://www.upwork.com/jobs/~015c346b94975326f0 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
@bernhardoj's proposal looks good! 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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 2024-07-17. 🎊 For reference, here are some details about the assignees on this 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:
|
I'll request in ND once payment is due. |
It was implemented like this in the beginning then the code was changed but it got reverted by #31738 because of regressions so there's no specific PR responsible for this. We don't have to add a test case for this but if we want here are the steps:- Prerequisite: 2FA enabled
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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 2024-07-22. 🎊 For reference, here are some details about the assignees on this 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:
|
Payment should be due tomorrow (07-17) |
Requested in ND. |
Reached out to BZ via DM to get the payment summary. |
@yuwenmemon, @muttmuure, @bernhardoj, @thesahindia Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@thesahindia - $250 for C+ |
$250 approved for @bernhardoj |
@yuwenmemon, @muttmuure, @bernhardoj, @thesahindia Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@thesahindia submit your request when ready |
@muttmuure I see that I got paid in UW, but I already got paid in ND. I've issued a refund. |
$250 approved for @thesahindia |
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: 1.4.84-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): ponikarchuks+315324@gmail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Two-factor authentication enabled page open
Actual Result:
2FA step 1 appears briefly then Two-factor authentication enabled page open
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6514551_1718480642361.2FA.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @muttmuureThe text was updated successfully, but these errors were encountered: