CSC/ECE 517 Fall 2016/E1657. Introduce a Student View for instructors

From Expertiza_Wiki
Revision as of 19:30, 28 October 2016 by Ckonda (talk | contribs)
Jump to navigation Jump to search

Introduction

Our project is to introduce a Student view to the instructors.

Project Requirements

  • Introduce a "Switch to Student View" on Instructors UI
  • Introduce a Revert to instructor View" on Instructor's Student UI
  • Time travel in Student View.

Working

On the right top, left to the logout button , anyone having access to view as student gets a textbox and a button saying "view as student". In-order to view as a student you have to type in the students ID and press submit. You can exactly see what the student's page looks like. If you need to revert back to instructor view you just have to leave the text box empty and press the revert button. This takes you to the instructors view again. Else if you need another students view, just type in the students ID and submit.

We also have implemented a time travel feature where you can go to a particular date and see what a student see on that day. You can find this feature as soon as you go to a student ID. You have to select a day you need to travel to, type in the student ID and submit. Boom! you got he student view as on the date given.

Implementation

  • Introduce a "Switch to Student View" on Instructors UI

TODO

  • Introduce a Revert to instructor View" on Instructor's Student UI

TODO

  • Time travel in Student View.

Required changes in 4 files :
Impersonate_controller due_date.rb user.rb navigation.html

Repository

Expertiza Github link