-
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-26] [$1000] Requesting magic code from 'Magic code' page doesn't clear all sign-in errors #21293
Comments
Triggered auto assignment to @twisterdotcom ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Request a new magic code does not clear sign in form errors on other tab. What is the root cause of that problem?When user opens an expired link, and clicks
App/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js Lines 246 to 247 in e6c4b4e
App/src/components/MagicCodeInput.js Line 354 in e6c4b4e
What changes do you think we should make in order to solve the problem?There are two props related to error field. These are the changes:
{props.hasError && !_.isEmpty(props.errorText) && (
props.hasError && props.errorText ? styles.borderColorDanger : {}, What alternative solutions did you explore? (Optional)None |
ProposalPlease re-state the problem that we are trying to solve in this issue.Requesting magic code from 'Magic code' page doesn't clear all sing-in errors What is the root cause of that problem?We're using component state to show the error App/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js Lines 232 to 233 in 9bef507
we just only clear error state when users click That why when users click What changes do you think we should make in order to solve the problem?change function
move other code to new function like clearData, then execute this function when props.account.loadingForm === CONST.FORMS.VALIDATE_CODE_FORM
ResultScreen.Recording.2023-06-22.at.17.58.35.mp4 |
Chatting in Slack on this one. DIdn't realize this could be done. Let's do it! |
Job added to Upwork: https://www.upwork.com/jobs/~018f0afc70ce23ee77 |
Current assignee @twisterdotcom is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
@aimane-chnaif two proposals to review here. Let's see if we can get this moving and maybe even merged this week! |
Bump on this @aimane-chnaif |
I am OOO! Adding another BZ member for the week. |
Triggered auto assignment to @JmillsExpensify ( |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@JmillsExpensify, @twisterdotcom, @aimane-chnaif Eep! 4 days overdue now. Issues have feelings too... |
@JmillsExpensify the link is removed from the page on the latest PR. I don't think there is a need to pursue this issue. |
We implemented the timer, but you see, I requested a new code in the tab on the right here, but it didn't clear the error in the tab on the left: I think @tienifr's proposal would do that, which is a neat improvement right? We just need @aimane-chnaif to review it. |
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Upwork job |
📣 @natnael! 📣
|
The BZ member will need to manually hire Natnael for the Reporter role. Please store your Upwork details and apply to our Upwork job so this process is automatic in the future! |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Following this issue to pay out this bug report when it's fixed. |
Fix was deployed |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.42-26 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-26. 🎊 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:
|
Payment due tomorrow. External issue reporter: @Natnael-Guchima due $250: https://www.upwork.com/nx/wm/pre-hire/c/8577561/offer/25751090 |
All paid out. |
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:
All error messages including 'Please enter your magic code' should be cleared in the same manner as requesting magic code from sign-in page clears all errors
Actual Result:
'Please enter your magic code' error message is not cleared
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.30-5
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
Notes/Photos/Videos: Any additional supporting documentation
2023-06-15.16.26.26.mp4
Recording.1059.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Natnael-Guchima
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686836451096149
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: