Update the UserDataLoader to update the KnowledgeLevel collection during the initial sync.
During the initial sync, if user.last_update is from yesterday, reset:
user.learning.mode = LearningMode.learn
user.new_resources_introduced = 0
What needs to be done
Update the UserDataloader to
use the KnowledgeLevelsService to update the collection.
if the last_update is from yesterday:
reset the learning.mode and learning.new_resources_introduced
Requirements
Update the
UserDataLoader
to update theKnowledgeLevel
collection during the initial sync. During the initial sync, ifuser.last_update
is from yesterday, reset:user.learning.mode = LearningMode.learn
user.new_resources_introduced = 0
What needs to be done
Update the
UserDataloader
toKnowledgeLevelsService
to update the collection.last_update
is from yesterday:learning.mode
andlearning.new_resources_introduced
Dependencies
Child of #218
Depends on:
135
Dev notes