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
Uses new API features for preview, deleting, pinning, and closing. Refactors and improves styling to match new mockups.
Adds the new post filter bar element.
Implemented a ScrollThreshold reusable component to detect scrolling
events, which can be used in the place of a Button.
Removed the i18n entry created for the Button, which is no longer
needed.
This change adds pagination to comments responses.
When viewing a post with a comment or comments that has more than one
page of responses, initially users will only see the first page of the
responses under each comment, and can load more comments by clicking
"load more responses" button under already displayed responses for that
comment.
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>