zeeguu / web

Frontend for the zeeguu web application.
https://www.zeeguu.org
3 stars 5 forks source link

278 exercises crashes due to not enough bookmarks #279

Closed tfnribeiro closed 6 months ago

tfnribeiro commented 6 months ago

defineExerciseSession was simplified and the sequence is now calculated in calculateExerciseSequence.

The exercise types are picked by iterating through the available list of exercises and as long as the required bookmarks are <= total bookmarks we need we add that exercise. In the case an exercise as more required bookmarks, this exercise is skipped. If the end of the list of exercises is reached, we start from the beginning again, until all bookmarks are assigned.

netlify[bot] commented 6 months ago

Deploy Preview for voluble-nougat-015dd1 ready!

Name Link
Latest commit 59a32448114217ac82b0589b51e8dcdd8a411c34
Latest deploy log https://app.netlify.com/sites/voluble-nougat-015dd1/deploys/65b287216eccac0008fbfb89
Deploy Preview https://deploy-preview-279--voluble-nougat-015dd1.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.