We came to the conclusion that limiting the words a user is learning might damage the user experience. To address this, we will instead just focus on using all available bookmarks and prioritize the easiest bookmarks first, and if that information is not available we take those furthest in the learning process.
I added an extra endpoint to check the total number of exercises performed in the current day. This is currently not being used but I think it could used for the goal setting/milestones, so I will leave it in for now.
The scheduled only method/endpoint was still left - I think we might be able to revisit this at some point where the user can decide when they schedule new words or at some point they might only want to practice words they are already studying without introducing new ones(?)
The main method to be used in the frontend will be the top_bookmarks_to_study which will return all the bookmarks that are available to exercise for that user. This means, either words on schedule or new words that haven't been practiced yet. These are prioritized by how often they occur in the respective language.
The main method to be used in the frontend will be the
top_bookmarks_to_study
which will return all the bookmarks that are available to exercise for that user. This means, either words on schedule or new words that haven't been practiced yet. These are prioritized by how often they occur in the respective language.