Adds a new tab and listing view for learners in a course that have interacted with the discussions forums. It reports stats about the learner's created posts, comments, and reported content.
Co-authored-by: Kshitij Sobti <kshitij@sobti.in>
Allow admins select a cohort when creating a new post.
If a user is not a discussions administrator, or if trying to edit
existing post, can't select a cohort (field is hidden).
fix: fix adding threads for topics that haven't been preloaded
This change adds pagination to posts' comments.
When viewing a post, if there are more than one page of comments,
initially users will only see the first page of the comments, and can
load more comments by clicking "load more comments" button.
This change only affects comments to posts. For comments that are
responses to other comments the pagination has not been implemented.
This adds a major chunk of UI code to the application covering topic listing,
topic filtering, subtopic browsing, browsing posts by topic, filtering unread
posts, filtering followed posts, sorting posts by recent activity, most activty
and most votes, liking/unliking a post, following/unfollowing a post, listing
comments and replis in a post.
Co-authored-by: Kshitij Sobti <kshitij@sobti.in>