CSC/ECE 517 Spring 2017 E1714

From Expertiza_Wiki
Revision as of 20:49, 22 March 2017 by Srashid3 (talk | contribs) (Created page with "Motivation Prior to our modifications, the Expertiza system offered no way for instructors to sign up or drop students from a topic. Instructors could impersonate a student, but ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Motivation Prior to our modifications, the Expertiza system offered no way for instructors to sign up or drop students from a topic. Instructors could impersonate a student, but this introduced unnecessary complexity to the process. By adding access to the signup functionality on the assignments page, instructors can now easily fix mistakes or free up topics as needed.

Modifications sign_up_sheet/_topic_name.html.erb The topic_name partial is the primary view for this feature. It renders the table cell where the topic, team, and students are listed. The following code was modified: [ ADD SOURCE CODE ] The instructor will see a different set of links depending on whether or not a team has already been assigned to a topic. If no team is present, only a single link that adds a student and their team will be visible. If a team is already present, then an additional link that drops that existing team will be visible. In this case, the signup link will add students to the waitlist instead.

signup_sheet_controller.rb The signup_sheet_controller is where most of the new functionality is introduced. [ ADD SOURCE CODE ]

Testing