zooniverse / wildcam-gorongosa

http://www.wildcamgorongosa.org
Apache License 2.0
2 stars 6 forks source link

Track progress of Assignment #242

Closed shaunanoordin closed 8 years ago

shaunanoordin commented 8 years ago

Features

Features TODO:

Features to Discuss:

For reference, the code to change would be in app/stores/assignments-store.coffee, function onIncrementClassificationProgress(), e.g.:

onIncrementClassificationProgress: () ->
  newState = _.assign {}, @data
  if newState.activeAssignment
    newState.activeAssignment.myClassificationCount++

    targetCount = parseInt(newState.activeAssignment.classificationTarget)
    if !isNaN(targetCount) && targetCount <= newState.activeAssignment.myClassificationCount
      alert('Good job! You've finished your assignment, maybe do something else now?')

Supercedes #241, fixes #240

@simoneduca , let's talk about this tomorrow.