Skip to content

[IP2WS2324G2-156] [IP2WS2324G2-157] Profil - Frontend Logik, Backend

Karla Alkhouri requested to merge IP2WS2324G2-156 into develop
  • created renderUser() function in profile.component.ts
  • created checkGroups() function in profile.component.ts and findUserInGroup() in GroupService
  • created checkTests() function in profile.component.ts and findUserInTest() in TestService
  • created redirectToPage() function in profile.component.ts so buttons could redirect to different Pages (depends on if user did a test and if user has groups)
  • installed ngx-avatar and added it to profile.component.html and navbar.component.html
  • created replaceAvatar() function in profile.component.ts and saveAvatar() in UserService
  • created renderProfilePic() function in navbar.component.ts
  • added a new File named avatars to the asssets Directory to store the avatars and render it in the modal
  • fixed checkLogin in navbar.component.ts, so the username avatar appears in the navbar when user is logged in without reloading the page
  • created serevr Routes for group and personalitytest
Edited by Karla Alkhouri

Merge request reports