bounswe / bounswe2022group4

6 stars 3 forks source link

Frontend: Profile Page Backend Connection #514

Closed umutdenizsenerr closed 1 year ago

umutdenizsenerr commented 1 year ago

This pull request resolves an issue with the profile page not being properly connected to the backend. Users were unable to view or edit their personal information on the profile page, which hindered their ability to fully utilize the platform and share their medical experiences.

To fix this issue, I modified the frontend code to make a request to the appropriate backend API endpoint and handle the response. I also tested the profile page to ensure that it was properly connected to the backend and functioning correctly.

This change should improve the user experience on the platform by allowing users to view and edit their personal information on the profile page.

BeratDamar commented 1 year ago

Thnaks to backend connection implemented with this version, users shall be able to edit their profile page. They can share personal information with other users via their profile page. I reviewed related API's provided by backend team. You handled responses returned from API's correctly. All functions work as we desired.

However, I realize that we should include links to user profile pages in timeline. Therefore, users will be able to view profile pages of other users to get more information about them. Otherwise, there is no meaning of the user profile page. I will add this topic for next frontend meeting.

Since this version is sufficient for now, I will merge it.

Thanks for your contribution.