feat: show current email during password reset and auto-populate text-box after successful completion#59645
Conversation
5df8962 to
72f6421
Compare
996aaa0 to
a76b5d3
Compare
|
Got a request for reviews for this contribution via https://github.com/sourcegraph/sourcegraph/issues/38348#issuecomment-2121019664, tagged the appropriate owners for review |
evict
left a comment
There was a problem hiding this comment.
Looks good from security PoV. 👍
eseliger
left a comment
There was a problem hiding this comment.
Open question about forging the UI - otherwise LGTM
| <> | ||
| {isErrorLike(this.state.submitOrError) && <ErrorAlert error={this.state.submitOrError} />} | ||
| <Container className="w-100"> | ||
| <Link to='/password-reset'><Icon className="mr-1" aria-hidden={true} svgPath={mdiArrowLeftBoldBoxOutline} />Raise request for a different account</Link> |
There was a problem hiding this comment.
Curious about the choise of this icon 😬
There was a problem hiding this comment.
I realized that this project uses icons from the @mdi/js library. After browsing the available options, I selected the one that seemed to best fit our use case 😅
eseliger
left a comment
There was a problem hiding this comment.
Talked to Vincent he didn't have concerns
… password change request
f407225 to
78cafd5
Compare
@evict No worries, I appreciate your time and feedback. Looking forward to contributing more to this project 🙌 TIA |
Linked Issues
Motivation and Context:
Changes Made:
Type of change:
Checklist:
Follow-up tasks (if any):
Test Plan
Setup the codebase locally along with configuring a custom SMTP to enable the email delivery functionality with the help of this documentation: https://docs.sourcegraph.com/admin/config/email#configuring-sourcegraph-to-send-email-using-another-provider
Tested the entire flow locally end-to-end.
Screen recording of the password reset screen where the current email ID is added along with a back button:
Screen.Recording.2024-01-17.at.12.10.29.AM.mov
Screen.Recording.2024-01-17.at.12.33.23.AM.mov
Additional Comments