haystack / nb

11 stars 10 forks source link

Endorse comments, follow user and statistic table #254

Closed alizeeschoen closed 1 year ago

alizeeschoen commented 1 year ago

This PR contains the final commit for the endorsment feature (1), the follow feature (2), and the statistics table (3).

(1) Endorsment: The front end of this feature is written in nbclient, this PR contains all the api and database changes to support the front end.

(2) Follow: This PR contains the api and databases to support the follow feature. Some of the follow feature UI is in nbclient. The other part of it is in nb. I have create a page on the dashboard for user to see their followings, and easily unfollow and follow other users.

(3) Statistics: I have created a statistics table on the content page to help users see different stats of their documents. This is implemented using sql query which made the method a lot faster than what it was in previous commits.

This PR goes hand in hand with this nbclient PR: https://github.com/haystack/nbclient/pull/71

More details on the implementation: https://dspace.mit.edu/handle/1721.1/145012

alizeeschoen commented 1 year ago

@JumanaFM