EmotionCognitionLab / pvs

1 stars 0 forks source link

Don't allow users who stop in the middle of set six to continue to set 7 #369

Closed noah10 closed 1 year ago

noah10 commented 1 year ago

If a user starts a set, doesn't finish it, and then comes back >3 hours after starting and finishes it we give them the option to continue on to the next set. We only want to allow this if the set they paused in the middle of is not set 6, because otherwise they can continue on to set 7, which they shouldn't start until after finishing weeks of home training.

noah10 commented 1 year ago

We should handle the same scenario with set 12. Since there aren't any sets after that, allowing them to continue to the next one is not likely to end well.

noah10 commented 1 year ago

This has been deployed to production.