COSC481W-2024Winter / ResoluteApp

A fitness tracking/logging application with social media aspects. The purpose of Resolute is to encourage users and their friends to be involved in each other's fitness endeavors through non-intrusive mobile notifications.
0 stars 1 forks source link

feat: Viewing profile information #60

Closed kbedoway closed 7 months ago

kbedoway commented 7 months ago

Overview This pull request is to merge the branch that gives users the ability to view their profile information and change their first name, email, or password. This new feature is important for users as it will maintain accurate personal information and ensure security.

Detailed Summary Adds ChangePasswordFragment.java screen. Adds uneditable username, editable name, and editable email textboxes in ProfileFragment.java. Adds "Apply changes" button in ProfileFragment.java to send query to Firestore to update user information. Adds toast messages for success "User information updated" and appropriate failures in ProfileFragment.java. Adds "Change password" button in ProfileFragment.java to navigate to ChangePasswordFragment.java screen. Adds "Enter current password", "Enter new password", and "Confirm new password" textboxes in ChangePasswordFragment.java. Adds "Apply changes" button in ChangePasswordFragment.java to send query to Firestore to change password. Adds toast messages for success "Password changed" and appropriate failures in ChangePasswordFragment.java. Adds blankFields() and emailAtSymbol() tests in Profile_IT.java. Adds blankFields() and newPasswordsDoNotMatch() tests to ChangePassword_IT.java.

Removed/Changed Tags N/A

Closes issue #41