E1785 OSS project Beige
E1785.UI features related to revision time
This page provides a description of the Expertiza based OSS project.
About Expertiza
Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the instructor to create new assignments and customize new or existing assignments. It also allows the instructor to create a list of topics the students can sign up for. Students can form teams in Expertiza to work on various projects and assignments. Students can also peer review other students' submissions. Expertiza supports submission across various document types, including the URLs and wiki pages.
Problem Statement
When a reviewer reviews a submission, the participant updates the submission if they find the review comments useful. Once the submission is updated, the reviewer will have to review it again when the second review cycle starts. However, since the reviewer may have multiple submissions to review, some of which are updated, and some that are not, it would be useful for him / her to be able to quickly identify the submissions that need attention. Currently, there is no way of doing this.
What needs to be done:
The reviewer should know which submissions are updated since he/she submitted the review. This can be done in UI of the reviewer’s page. The submissions can be color-coded using a scheme like the one used in the “Review Report” page.
Red – If the review has not been started
Orange – If the review was started, but not completed
Brown – Submission has been reviewed
Solutions Implemented and Delivered
Changes:
<%= link_to "View", {:controller => 'response', :action => 'view', :id => @latest_response.id} %>
<% if @assignment.get_current_stage(topic_id) != "Finished" %> <%- # show the link as edit when latest review is done in current deadline -%> <%- # show link as update when latest review is done in different deadline than current phase -%> <% if (last_response_round == current_round)%>
<% if (!@latest_response.is_submitted) %> <%= link_to "Edit", {:controller => 'response', :action => 'edit', :id => @latest_response.id} %> <%end%>
<% else %> <%= link_to "Update", {:controller => 'response', :action => 'new', :id => map.map_id} %> <%= link_to "Update", {:controller => 'response', :action => 'new', :id => map.map_id} %>
<% end %> <% end %>
<%= " -- latest update at #{@latest_response.updated_at.strftime("%a, %b %d, %Y %I:%M:%S %p")}" %>
<%end%> <% elsif @assignment.get_current_stage(topic_id) != "Complete" && @assignment.can_review(topic_id) %>
<%= link_to "Begin", {:controller => 'response', :action => 'new', :id => map.id} %> <%= link_to "Begin", {:controller => 'response', :action => 'new', :id => map.id} %>
<% else %>
Begin
Files Updated:
apps/views/student_review/list.html.erb
apps/controllers/student_review_controller.rb
app/views/review_mapping/_review_report.html.erb