digitalfabrik / lunes-app

The front end for the Lunes vocabulary trainer. Back end: https://github.com/digitalfabrik/lunes-cms
https://lunes.app
Apache License 2.0
24 stars 5 forks source link

LUN-475: Long term exercise service #903

Closed jira-to-github-migrator[bot] closed 1 year ago

jira-to-github-migrator[bot] commented 1 year ago

Stefanie Metzger - 20.2.2023, 14:06:08

Implement a long term exercise class (service) that contains all logic needed for the long term exercise, this should be implemented with the singleton pattern.

There are 7 sections

 

section needs repetition after
0 0 days
1 1 day
2 3 days
3 7 days
4 30 days
5 90 days
6 never

 

Progress is saved in AsycStorage, implement methods for saving, modifying and deleting here and not in AsyncStorageService.

 

Class fields:

Methods that should be implemented:

 

Add a lot of tests as this feature is going to be really hard to debug.

Environment: - Linked issues: