codeandcognition / koconut

a very cool assess pool
2 stars 0 forks source link

Some exercises don't show up as completed #387

Closed bxie closed 5 years ago

bxie commented 5 years ago

For some exercises (e.g. 1st conditionals write practice), state.exercisesCompleted does not update. Issue found in the middle of some work in feature384/conditions branch, so may not be issue. Worth checking though, because this could compromise C2 condition.

bxie commented 5 years ago

didn't see this bug when developing in that branch, but worth checking again

bxie commented 5 years ago

seeing this error in E1 condition, so looks to be an issue where exercise completion is lost on refresh To replicate:

  1. submit a correct answer and get response (which confirms /bkt request suceeded)
  2. See that the green star appears signifying completion, exercise ID is added to state.exercisesCompleted
  3. refresh page

expected: green star still exists, state.exercisesCompleted shows exercise completed actual: completion data (in state, in UI) lost on refresh

(FWIW, data persists when going back to world view w/o refreshing)

bxie commented 5 years ago

not seeing this issue for E1 condition now...

bxie commented 5 years ago

have not seen this issue personally or in alpha. closing