mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:51:50 +00:00
## Linked Issues - Closes https://github.com/sourcegraph/sourcegraph/issues/38348 ## Motivation and Context: <!--- Why is this change required? What problem does it solve? --> - Improves the UX of the password reset flow ## Changes Made: <!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> - Made changes to the following 2 flows: - On the new password entry screen: - Added a text which displays the email of the account for which the password change request has been raised - Added a back button to allow the users to go back to the previous email entry screen if the account they want to reset the password for is different - On the sign-in screen which comes after successful password reset request completion: - Made changes to auto-populate the email text-box with the email linked to the account on which the password reset request was completed recently ## Type of change: - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Refactoring (altering code without changing its external behaviour) - [ ] Documentation change - [ ] Other ## Checklist: - [x] Development completed - [ ] Comments added to code (wherever necessary) - [ ] Documentation updated (if applicable) - [x] Tested changes locally ## Follow-up tasks (if any): - None ## Test Plan <!--- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. --> - 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: https://github.com/sourcegraph/sourcegraph/assets/51479159/a79fc338-ace0-4281-86d2-de7cc68eae20 - Screen recording of the sign-in screen after password reset is successfully done where the email ID is auto-populated in the text-box: https://github.com/sourcegraph/sourcegraph/assets/51479159/be7db65d-9421-4621-a1e9-a04a546b9757 ## Additional Comments - Please let me know if I need to make any further design changes from the frontend side or any API contract related changes from the backend side --------- Co-authored-by: Vincent <evict@users.noreply.github.com> Co-authored-by: Shivasurya <s.shivasurya@gmail.com> |
||
|---|---|---|
| .. | ||
| providers | ||
| userpasswd | ||
| backoff.go | ||
| BUILD.bazel | ||
| const.go | ||
| forbid_all_test.go | ||
| forbid_all.go | ||
| orgs.go | ||
| site_admin_test.go | ||
| site_admin.go | ||
| visitor.go | ||