Added a contentType for Exercise-Screens. So we have type of content "standard" for discipline vocabulary and
"userVocabulary" and "repetition" for content, where the front-end generates the vocabulary.
Previously this was handled quite hacky, by checking for the disciplineId that is passed. But we need to handle things quite different depending on the type of content, e.g. for standard, we save the progress per module. For userVocabualry, wo do not save any progress and for "repetition" we save the progress per word. So it really makes sense, to pass this information to the components.
This is a preparation for Related: #123
Side effects
may break any navigation of the exercises, please test carefully
Short description
Added a contentType for Exercise-Screens. So we have type of content "standard" for discipline vocabulary and
"userVocabulary" and "repetition" for content, where the front-end generates the vocabulary.
Previously this was handled quite hacky, by checking for the disciplineId that is passed. But we need to handle things quite different depending on the type of content, e.g. for standard, we save the progress per module. For userVocabualry, wo do not save any progress and for "repetition" we save the progress per word. So it really makes sense, to pass this information to the components. This is a preparation for Related: #123
Side effects
Resolved issues
none, is only part one