-
-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add similar users component to feed page (#1320)
* Create modal entry component * Add similar users modal * Complete similar users modal * Create UserSOcialNetwork component * Rwemove duplicate file * Changes for preliminary comments * Changes for next comments * Fix test * Add prop API base * Fix existing test * Add initial tests for UserSocialNetwork component * Make API calls async With at least writing errors to the console * Fix UserSocialNetwork tests Some basic tests * Add some tests to UserSocialNetwork Make some of the code a bit more robust. Yay TDD! * Move to api namespace - user/<user_name>/followers and /following * Tweak user similarity score component Was showing long string of numbers instead of adjusted to a scale of 1-10 and rounded. * Moving follow features endpoints to API in front-end service * Move to api namespace - follow_user and unfollow_user * Add auth to /follow and /unfollow endpoint in front-end * Add margin between similar users and brainzplayer * Add some tests * Update snapshot * Add docstrings * Change expected structure of response from /followers and /following * Fix changes from code review * Do not raise APIBadRequest on unfollowing not following user * Resolve merge conflicts * Add missing jest snapshot Co-authored-by: Monkey Do <contact@monkeydo.digital> Co-authored-by: Kartik Ohri <kartikohri13@gmail.com>
- Loading branch information
1 parent
6c92336
commit 21ff55b
Showing
30 changed files
with
922 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.