bounswe / bounswe2024group9

9 stars 1 forks source link

[Ceylin, Damla] Create profile page and edit top contributors part for web #273

Open serhan-cakmak opened 1 day ago

serhan-cakmak commented 1 day ago

We need to implement the Profile Page for the web application, ensuring it meets the specified requirements. The page will include features such as displaying user information, allowing edits to the user's profile, and handling tabs for user questions, bookmarks, and (in the future) comments. Additionally, the "Top Contributors" section in the sidebar should reflect dynamic data.

Deadline: 19.11.2024 Estimated effort: 12 hrs Reviewer: @Mutti499 , @serhan-cakmak

ceylingebes commented 1 day ago

I have implemented the Profile page and make Profile button in navigation bar functional. I have implemented viewing and updating the user profile, including name and profile picture and tabs for user questions and bookmarks. While implementing the Profile page, I included functionality for listing a user's comments since it is included in the mockups we have prepared and more importantly it's in the requirements. However, this feature is currently commented out due to an issue in the backend. While attempting to fetch user comments using the endpoint/get_user_profile_by_username/<username>/, the API does not return any field or related data for comments. I believe the User model in the backend does not currently support retrieving comments associated with a user. Can you guys check this out @Mutti499 @serhan-cakmak and let me know when the issue is resolved?

Mutti499 commented 21 hours ago

Ye I am on it mate