Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

John's Changes

jhenkens edited this page Sep 23, 2014 · 15 revisions

ChangeHeaders: Merged
-Small change that makes the links in the header make more sense when not signed in


PermissionsFix: Merged
-A branch for small fixes
-Fixes a problem wherein a staff member that is currently signed in as a test student is denied access to editing a laplaya file
-Makes the list of schools at the student login page be ordered alphabetically


QuestionUpgrades:
https://www.pivotaltracker.com/story/show/77907964
https://www.pivotaltracker.com/story/show/77161348
-allow designers to create variants to questions. These are then randomly (in this branch) selected between when a student views an assessment task
-this works by having each assessment question optionally belong to another assessment question and working from there
-Creates a provide feedback button for assessment tasks and an interface to teachers and students to view responses to such questions.
-As the variants code is also in the researcher interface branch and I was told that a provide feedback option is not actually wanted, this branch is effectively obsolete


QuestionUpgradesWithResetResponses:
https://www.pivotaltracker.com/story/show/77161348
-Same as above, but rebased to the ResetResponses branch and only allowing assessment tasks that are marked to provide feedback to be reset by teachers
-Again obsolete unless providing feedback is actually wanted


RemoveUnlocks:
https://www.pivotaltracker.com/story/show/77474360
-Removes unlocks and replaces them with a column in task responses
-creates activity unlocks for activities instead
-Is based on a MUCH earlier version


ResearcherInterface:
https://www.pivotaltracker.com/story/show/78514516
-requires Resque
-Creates an interface for (only superstaff) viewing assessment task responses
-Additionally allows researchers to download the response data for a task as a .xlsx file.
-Is based off the QuestionUpgrades branch, so accounts for variants and de-implements the provide feedback functionality
-Also has a few changes to how assessment questions work:
--Created an option to randomize the order assessment question answer options appear in to a student, enabled by default
--Made variants not be selected randomly but instead based on the student's ID
-There appears to be a problem with class caching. The task response page takes very long to load, so it instead is calculated in a worker when asked for and saved as an entire html file (currently in tmp). When cache-classes is true, visiting the page only ever sends the first generated version, reguardless of successive updates to the file, even if it is now blank.


ResetResponseButtons:
-Creates an interface that allows teachers to reset student responses to a laplaya task
-Fixes the activity progress and student progress views by making the max height of the Grid table actually work correctly and incorporates 'not yet begun' and 'in progress' to the charts and table (involves Unlocks).


StudentOptimization:
https://www.pivotaltracker.com/story/show/77160526
-I'm not sure this actually had any affect, but a couple of charges are made to maybe speed up student lookup time
-Is based off the reset response buttons branch apparently


StudentViewChanges:
https://www.pivotaltracker.com/story/show/77161100
-Updated the student view to include a 'curriculum' button on the module page instead of just listing the activities below it
-Tasks and activities show dependencies to students via 'First finish X' or 'First finish X and Y and...'
-Curriculum designers can tag any page from module page downward with special attributes that get saved as an array in the record. These do not actually do anything yet (except add classes to certain things in the student portal) and the available ones are just test ones, but it works.


TeacherViewChanges:
https://www.pivotaltracker.com/story/show/77473658
-As requested by Diana, changes some things about the 'show' page for school classes:
-Adds some really fancy charts
--A stacked column chart at the top that shows how many of a class's students have finished X tasks in each activity(15 students have finished 0, 8 students have finished 1...)
--Small charts next to the 'View Progress' link for each student that give a quick idea of their progress (each bar is at the top when they have finished all tasks in an activity and 0 when they have completed none)
-THIS IS VERY SLOW. I have experimented with calculating in a worker and saving the charts in a record to be immediately shown when a teacher visits the page, and this definitely works but didn't really go deeper with it before moving on.


TimeTracking:
https://www.pivotaltracker.com/story/show/77474184
-requires Resque
-Adds functionality for laplaya tasks to record how long students are actively working on them in the task response
-As a student works on a laplaya task, their time is saved in a TimeInterval model every 30 seconds. When they go idle or (unsually) when they leave the page, the TimeInterval is sent a request to be completed and inserts itself into a json array in then appropriate TaskResponse.
-A gem called resque-delayed is used make sure that orphaned TimeIntervals that have not been completed and have not been updated in 5 minutes are taken care of.