marcusolsson / edith

An open learning platform based on Gatsby
https://marcusolsson.github.io/edith
MIT License
27 stars 5 forks source link

Redirection on module completion #22

Open tskarhed opened 4 years ago

tskarhed commented 4 years ago

Currently, when a module is completed, you're redirected to /. If this module is in a course, the wanted behaviour with be either:

marcusolsson commented 4 years ago

I've been giving this some though, but haven't decided on how it should be done.

The behavior you're describing would definitely feel more natural. However, the tricky part is that since a module can belong to multiple courses, how will a module know which is the next module?

If you start a module from a course page, you can pass the id to the course, but what if you close down your browser and pick up the module again next week?

One option is to present the learner with a question on completion:

Congrats on finishing this module! This module belongs to the following courses. Which course would you like to continue studying?