Tamagotchi-Trainer / tamagotchi_trainer

0 stars 0 forks source link

Friends database with adding friends feature #18

Closed D-Nishimura808 closed 1 year ago

D-Nishimura808 commented 1 year ago

Implement a relational database for the friends list that allows us to add friends to our own friends list

Need to create:

  1. Separate friends list page as opposed to user list page
  2. Relational database with that allows us to define friends

Add search bar to friends list?

D-Nishimura808 commented 1 year ago

Refactored the Friends page to instead have links to separate pages with Users and Friends respectively

Changed the "allUsers" method to "otherUsers" in the userDB so that the user list does not show the currently logged in user.

Created the Friends DB as a Map of strings (User ID) to UserData.

Created two new friend tiles: One is for the friends list, the other is for users that have been added as friends

For future work, maybe add a search feature for the "Users List" page

D-Nishimura808 commented 1 year ago

Various other small fixes completed before closing issue.