/class-size-extension

An extension for checking different stats about the current cohort

Primary LanguageJavaScript

Cohort Stats Extension

This extension works on the classmates tab of progress tracker. It starts by displaying the number of students in the cohort. Any changes in class size (students lost/gained) will also be noted the day after assessments (or whenever progress tracker updates).

It uses your own local storage on chrome and will only check for updates when the page is visited, so the first time the page is visited it will say there are no changes. The next time changes occur on the page, it should update. It has three sets to compare. One for "last week" and one for "this week" to determine the individual student changes and overall change in class size, then one for "current week" to check if actual changes have occurred on the page. The page must be visited at least once a week for the week-over-week changes to be accurate. Total Size will always be accurate.

What it looks like when changes occur:

changes

What it looks like when no changes occur:

nochanges

Installation

Step 1:

git clone this repo, then go to the "Manage Extensions" page in chrome

stepone

Step 2:

Turn on developer mode in the upper right hand corner

steptwo

Step 3:

Click the "Load Unpacked" button in the upper left corner

stepthree

Step 4:

Select the class-size-extension directory and try it out.