Users - sms-trevature/user-interface GitHub Wiki
User Profile Component
Purpose
The purpose of this component is to both view and edit profile information. All input fields are editable with the exception of the company status field since a user should not be able to change their role within the company. You can also change the training location of said user via a drop-down with the choice of either Tampa or Reston.
Issues
- The information is only able to update if and only if you change the training location
- The company status does not reflect the user's role within the company but instead specifies if they are in staging or not
Future Iterations
The profile component should have the correct company status i.e. Admin, Staging Manager, Associate, etc. When a user updates their information, it will change in the database and return the updated information back.
Login Component
Purpose
The purpose of this component is to be able to login as any user who has already been registered in the system. If a user so happens to forget their password, they are able to click on the reset password button, input their email address, and be sent a new password.
Future Iterations
The login component should be able to reset a password. As of now a modal pop up and a user is able to input their email but nothing is actually being sent to that email.
Registration Component
Purpose
The purpose of this component is to be able to modify user information when the associate login for the first time. The User must input the same email that their temporary password was sent to. The user can only input their first name, last name, and phone number.
Issues
- The component was not utilized because it is dependent on add associate functionality. Once add associate functionality is fully functional and sends the associate a tempory email then the registration component can be implemented.
Future Iterations
The registration component should be implemented. The component should be a modal that pops up and gives the user the option to opt out of registering their information immediately.