Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HER-30: [FrontEnd] Edit User Profile #59

Closed
wants to merge 13 commits into from

Conversation

trca831
Copy link
Collaborator

@trca831 trca831 commented Jan 14, 2025

Issue

https://raquelanaroman.atlassian.net/browse/HER-30

Description
As a user, I would like to be able to edit my profile information.

Acceptance Criteria
Allow a user to edit (via PUT /api/v1/users/:id):
:name

Must be edited via firstName and lastName inputs
:email
:password

Require old password to update password,
Do not require password to change other attributes

May require coordination with BE to ensure PUT /api/v1/users/:id is ready to accept updates
:bio
:profile_image

https://raquelanaroman.atlassian.net/browse/HER-29
https://raquelanaroman.atlassian.net/browse/HER-46
https://raquelanaroman.atlassian.net/browse/HER-47

Changes

  • Adding Put Endpoint to Config/Routes
  • updated users controller to implement update action
  • updated validations for model
  • create an editprofileform
  • added edit profile button to user profile page
  • updated editprofileform to include constants

Review Checklist

  • [ x] I have documented my code with code comments.

@trca831 trca831 marked this pull request as ready for review January 18, 2025 01:59
@trca831 trca831 closed this Jan 20, 2025
@trca831 trca831 deleted the HER-30-FE-edit-user-profile branch January 20, 2025 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants