-
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
[Authenticate API] Add RequestPasswordReset API command #9942
Conversation
Looks like you modified Instead, all new API commands should use API.js, and follow our guidelines for writing new API commands. Unsure if your change is okay? Drop a note in #expensify-open-source! |
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
There are some conflicts! The code looks code but I have a couple of questions, by looking at the screenshots, it seems we disable the button on Web but not the other platforms, why is that? Also, why did you add a screenshot for payments? I thought we were only changing the Reset button |
Conflicts are resolved!
Ah oops, sorry. The screenshots are out of date, was having some trouble testing the offline indicator locally.
Because I changed the default styles for the Offline indicator and the Payments page uses it. Though actually it looks like a recent commit changes that, so that page is no longer modified. I've removed the screenshot for that page. |
Taken off hold and conflicts resolved! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by @yuwenmemon in version: 1.1.86-5 🚀
|
Details
Removes usage of
DeprecatedAPI.resetPassword
.Previously held on https://github.com/Expensify/Web-Expensify/pull/34335
cc: @robertjchen @MonilBhavsar since you both have context on the Authenticate API refactor logic.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/218820
Tests
Forgot?
button on the password pageRequestPasswordReset
request is sent and that you receive the following emailResend Link
and confirm anotherRequestPasswordReset
is sent and you receive the same email as in step 3.PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)QA Steps
See test steps
Screenshots
Confirm the offline indicator looks correct for chat view when offline since we modified the offline indicator styles.
Web
Mobile Web
Desktop
iOS
Android
Can't test right now, Android Studio doesn't run on an M1 mac.