CSC/ECE 517 Spring 2019/E1933 Allow reviewer to say review can be shown to class as an example

From Expertiza_Wiki
Jump to navigation Jump to search

Reviews in Expertiza

In Expertiza, students can review other team's project. The instructors can create assignment specific questions based on which students can write these reviews. The questions are in rating and/or comment form. Currently the students can only see what review their team got for their work. The instructors can see who reviewed each team and the review they gave.

What is this project adding to the reviews?

What needs to be done?

1) Creating a checkbox
2) Allow instructors to select(remove) from public(selected) reviews to show to (hide from) the class.
3) Allow students to see good reviews
4) Allow current participants of the course to be shown good reviews of the earlier course sessions as well.
5) Allow students to make a review private.

Files that will change

  • create migration for the responses model called status which can take on the values 'selected', 'public' and 'private'.
  • create a status field in responses model: schema.rb.
    add a column "status" in response.rb model.
  • create a checkbox in a view: views/response/response.html.erb:333.
  • add code to check the status field from response.html.erb and update the db, in controller: app/controllers/response_controller.rb(in method "create").