You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 15, 2020. It is now read-only.
Francesca edited this page Apr 26, 2019
·
3 revisions
Scoring Overview
This page is intended to display either the list of scored projects or unscored projects allotted to each judge. A button allows for the switch between the two lists. Clicking on the projects will route to the project information and a slot for scoring.
State Variables
renderedList: a list that gets displayed on the page (either scoredList or unscoredList)
scoredList: a list that stores the projects that have been scored
unscoredList: a list that stores the projects that have not been scored
showUnscored: a boolean that indicates whether the unscoredList is displayed, defaulted to true (unscored)
judgeID: a number unique to the judge viewing the list of projects to score
Functions
fetchUnscored(): This is a helper function that sets the state of renderedList to unscoredList when the button is clicked to show the list of unscored projects.
fetchScored(): This is a helper function that sets the state of renderedList to scoredList when the button is clicked to show the list of scored projects.