You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a good algorithm when the "you can now do the long term exercise for these words"-modal should be displayed when finishing a module.
What would be a good algorithm?
The modal should be displayed the first time a module is finsihed after a user installed the app
The modal should not be displayed every time a module is finished
(optional) The modal should be displayed more often, when the user is not doing the long term exercise at all or only rarely
Suggestion: Maybe we can save something like "longTermExerciseReminderInterval" and "LongTermExerciseReminderSkipNextXTimes", update them when a module is finished like this:
if(SkipNextXTimes > 0) {
SkipNextXTimes--
} else {
showModal()
SkipNextXTimes = ReminderInterval
ReminderInterval = ReminderInterval * 2
}
So if we init ReminderInterval = 1 and SkipNextXTimes = 0
User will get a reminder after completing the first module, the third module and so on. But feel free to think a better logic
**Environment**: -
**Linked issues:**
The text was updated successfully, but these errors were encountered:
LeandraH
changed the title
LUN-530: Implemnt a valid reminder for long term exercise
LUN-530: Implement a valid reminder for long term exercise
Sep 23, 2023
Stefanie Metzger - 11.8.2023, 10:16:43
Implement a good algorithm when the "you can now do the long term exercise for these words"-modal should be displayed when finishing a module.
What would be a good algorithm?
The modal should be displayed the first time a module is finsihed after a user installed the app
The modal should not be displayed every time a module is finished
(optional) The modal should be displayed more often, when the user is not doing the long term exercise at all or only rarely
Suggestion: Maybe we can save something like "longTermExerciseReminderInterval" and "LongTermExerciseReminderSkipNextXTimes", update them when a module is finished like this:
The text was updated successfully, but these errors were encountered: