Learners tab will show the list of learners along with the filter status and filter menu as shown below.
Figma mockup: https://www.figma.com/file/LVFnO9oRHYiamoicZuXDAC/Discussion-page?node-id=5377%3A113859
What about cohorts? If course is divided by cohorts:
If current user is a (learner, group TA) role, only users belonging to the same cohort as the current user, will be listed, in addition to course staff, course admin, discussion admin, discussion moderator and community TA roles.
What filter or sort options should be available for user list?
Only sort by:
Reported activity (only available for users having moderation privileges)
Default sort for user list:
Sort by recent activity when viewed from learner account
Sort by reported activity when viewed from account having moderation privileges (TA, Group community TA, Discussion Admin, Discussion Moderator, Global staff)
What filter or sort options should be available for posts list for a selected user?
Preferably the same sort options available for
My Post and
All Posts tab
When viewed from an account having moderation privileges:
When viewed from any other account:
To replicate legacy experience, we need to make usernames clickable. Once a username is clicked, the current user will be navigated to the Learners tab and show posts by clicked username.
Clicking on a Learner will display list of posts by that learner, just like in
My posts tab, as shown below. Except that there will be options to:
Go back to the list of learners (with same sort order and filters as perviously selected)
Navigate to posts of next learner (next learner in the previously selected sort order and filters)
As opposed to current implementation, threads will not be displayed separately as
Comments. Same is the case with legacy experience as seen below.
Navigating to learners tab will show a list of learners with an option to filter and sort.
Filter/sort menu will show only 2 sort options:
Most activity (this will change in future after completion of this ticket).
Default sort for users having moderation privileges will be by
Reported activity. For everyone else, it'll be by
Reported indicator will show number of reported content (post, comment or response) and number of previously reported content upon mouse hover.
Total number of content (post, comment or response) learner has authored.
Total number of posts the learner has authored.
Do not build. No need for actions menu at the moment. In future, it will be used for Promote to Community TA option.
Move over will highlight the learner card.