question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[User Settings] Add new Change Password view

See original GitHub issue

If you haven’t already, check out our contributing guidelines for onboarding!


Having added four new menu items to the Settings page, we now need to begin linking those menu items to actual pages. This issue pertains to the Change Password page.

The Change Password view will be displayed when the “Change Password” menu item is clicked. It will display a header with a left-facing arrow on the left-hand side, a title, and an X button to close the view on the right-hand side. The view will contain a prompt, three text boxes with a titles, and a button with the text Save.

Deliverables

  • Clicking on the Change Password menu item on the Settings page will route the user to settings/passwords via the SETTINGS_PASSWORD route in ROUTES.js and display the new view
  • The Two Factor Code field should only display if the account.requiresTwoFactorAuth is true
    • The two factor code text box should contain a placeholder saying Required when 2FA is enabled
  • If an incorrect current password or 2FA code is provided we should display the following error Incorrect password. Please try again.
    • This is similar to what we do on the login screen
    • image
    • If account.requiresTwoFactorAuth is true, ensure the error message says Incorrect password or two factor code. Please try again.
    • Pressing Save should call User.changePassword
    • Pressing X will close the right-hand modal and route the user back to the last viewed report
    • Pressing < should display the main settings view.
Mobile Web/Desktop

Upwork Link: https://www.upwork.com/jobs/~01fd29c39b73d1e4fa

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
michelle-thompsoncommented, Mar 17, 2021

I prefer the sentence underneath the input so let’s go with that! image

1reaction
shawnbortoncommented, Mar 16, 2021

I like the idea of just using small, muted text directly under the text input for the hint. Especially since tooltips don’t really work well on mobile.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change User settings on Mac - Apple Support
Learn how to set up a new user. To change these settings, choose Apple menu > System Settings, then click Users & Groups...
Read more >
Manage a user's security settings - Google Workspace Admin ...
View and manage user security settings · Click Password · Choose to automatically generate the password or enter a password. · (Optional) To...
Read more >
Let users reset their own passwords - Microsoft 365 admin
Steps: Let people reset their own passwords · In the admin center, go to the Settings > Org settings page. · At the...
Read more >
Video: Change your Microsoft 365 for business password
Try it! · Sign in to office.com/signin with your work or school account. · Go to Settings > Password. · Enter your old...
Read more >
Change password in Outlook Web App - Microsoft Support
The requirements are set by your administrator. For information about the password requirements for your account, contact your helpdesk. Depending on your ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found