-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-08-14] [$250] Login - Entered email is cleared on the login page if the window is resized to small size #46204
Comments
Triggered auto assignment to @sakluger ( |
@sakluger 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 |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.The entered email address is cleared when resizing window. What is the root cause of that problem?The login form is wrapped with App/src/pages/signin/SignInPage.tsx Lines 273 to 288 in 904e950
App/src/pages/signin/SignInPageLayout/index.tsx Lines 84 to 179 in 904e950
So, when the structure is different, the What changes do you think we should make in order to solve the problem?Move up the login state from
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Login - Entered email is cleared on the login page if the window is resized to small size What is the root cause of that problem?The login is saved in What changes do you think we should make in order to solve the problem?We should to take all the states of both App/src/pages/signin/LoginForm/BaseLoginForm.tsx Lines 61 to 62 in b0f810d
and BaseValidateCodeForm App/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.tsx Lines 64 to 69 in b0f810d
up into SigninPage and pass the states and setters of the states down to the two login and validate code form components Of course we can also use Context instead of state if needed. What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~0124dcdbeaf4f51b56 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Both the proposals identify the root cause correctly, and I think we should use the state instead of Context. Considering the proposals are on similar lines, @bernhardoj's proposal looks good to me. 🎀 👀 🎀 C+ reviewed. |
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
PR is ready cc: @mananjadhav |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.17-2 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-08-14. 🎊 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:
|
@sakluger This one's also ready for payout. I know we've had this state setup since a very long time. We had also closed this issue once. I don't think we have an offending PR here as this only occurs when one resizes the window. Considering this I also don't think we need a regression test for this one. |
Payment Summary
BugZero Checklist (@sakluger)
|
Thanks @mananjadhav! @JmillsExpensify we can use the payment summary in the comment above. |
Requested in ND. |
$250 approved for @mananjadhav |
$250 approved for @bernhardoj |
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.12-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
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Entered email should still be in the field
Actual Result:
Entered email is cleared on the login page if the window is resized to small size
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6552628_1721911184187.bandicam_2024-07-25_14-34-08-742.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @saklugerThe text was updated successfully, but these errors were encountered: