Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Quiz Lesson does not update progress after 30 seconds #988

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

hyperdatavn
Copy link

Issue1:

  • In Case: A lesson contain Quiz, if student is not completed a quiz within 30 seconds then save_progress API will not be call anymore. So when student completed a quiz, a progress still dont be updated.
  • Solution: Retry save_progress each 30 seconds until student completed a quiz.

Issue2:

  • In case: A lesson contain Quiz, if student submit and completed a quiz, it need to await 30 seconds for a interval be called and update progress. If student refresh or quit a page, a progress dont be updated.
  • Solution: Add more note "After Submit a Quiz, please await 30 seconds to update a progress percentage" for student need to wait 30 seconds after they completed a quiz.

@pateljannat
Copy link
Collaborator

@hyperdatavn A better approach would be to call the save_progress function when a student submits a quiz. Can you please do that approach instead

@hyperdatavn
Copy link
Author

hyperdatavn commented Aug 26, 2024

@hyperdatavn A better approach would be to call the save_progress function when a student submits a quiz. Can you please do that approach instead
@pateljannat
I think about this solution already, but if i call save_progress when student Submit a quiz then it just update on backend, a progress of lesson still dont refresh in Lesson.vue page, how can i refresh progress in Lesson section ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants