Depends on #117. When the currently logged-in user is viewing their own profile page (e.g. the id of the currently logged-in user matches the one in the profile page URL), the user should have the ability to edit their profile, namely their name as well as their contact phone number.
Profile photo management is out of the scope of the prototype, hence out of the scope of this ticket.
Definition of Done:
[x] On user profile page, check if currently logged in user "owns" profile, if so, allow them to edit their name and contact phone number
[x] Call the PUT /api/v1/users/{userId}/profile endpoint to save the user's profile changes
Depends on #117. When the currently logged-in user is viewing their own profile page (e.g. the id of the currently logged-in user matches the one in the profile page URL), the user should have the ability to edit their profile, namely their name as well as their contact phone number.
Profile photo management is out of the scope of the prototype, hence out of the scope of this ticket.
Definition of Done:
PUT /api/v1/users/{userId}/profile
endpoint to save the user's profile changes