-
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
Sign in- Two different warning messages displayed when tap Set Password #11114
Comments
Triggered auto assignment to @madmax330 ( |
Proposal: My proposal is to show error message only when button is not loading. App/src/pages/SetPasswordPage.js Line 122 in 50d4295
<FormAlertWithSubmitButton
buttonText={buttonText}
isLoading={this.props.account.isLoading}
onSubmit={this.validateAndSubmitForm}
containerStyles={[styles.mb2, styles.mh0]}
message={error}
- isAlertVisible={!_.isEmpty(error)}
+ isAlertVisible={!this.props.account.isLoading && !_.isEmpty(error)}
isDisabled={!this.state.isFormValid}
/> Output: Screen.Recording.2022-09-20.at.12.00.28.mov |
cc: @MonilBhavsar |
Thanks for the ping! Looks like a bug from code refactoring. Looking into it |
Handling internally as it was caused because of refactoring. The refactor code is deployed and we want to push this fix asap. |
PR is merged. Waiting for deploy |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here. 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. |
Issue not reproducible during KI retests. (First week) |
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:
Expected Result:
One warning messages displayed when tap Set Password several times
Actual Result:
Two different warning messages displayed when tap Set Password several times
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.2.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen_Recording_20220919-134812_New.Expensify.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: