encorelab / SCORE

Scripting and ORchestration Environment (SCORE)
Other
2 stars 0 forks source link

Allow teachers to view all discussion posts #95

Closed hirokiterashima closed 3 years ago

hirokiterashima commented 3 years ago

The teacher can now view all the discussion posts for the current period selected (specific periods, or all periods). I didn't implement the interactions within this view (see below for details).

How to test:

  1. Open the grading tool, and go to grade-by-step view
  2. Open a discussion component for a particular workgroup.
  3. Under all the posts that the workgroup has done, there is a link to "See entire class discussion". Click on the link. This should open a popup
  4. Test that:
    1. you can see all of the students' posts for the current period (the current period should match the period selection drop-down).
    2. you can sort by latest, oldest, most-votes, and least votes
    3. other interactions (deleting, undeleting, voting posts) are not enabled in the popup for now. I think we should refactor the code a bit before adding those functionalities. You can still perform those functions in the original grade-by-workgroup view for each workgroup.
    4. you can close the popup by hitting escape, or clicking on the close button or outside the popup window.

Closes #94