Add user progress dashboard

This commit is contained in:
hz
2026-07-18 23:45:38 -05:00
parent 2e52a7ea0a
commit 2dcac51452
26 changed files with 983 additions and 17 deletions
+4 -2
View File
@@ -1298,7 +1298,8 @@ func _submit_or_next() -> void:
QuestionBankService.record_first_attempt(
question_id_for_attempt,
attempted_choice,
_presented_choice_ids()
_presented_choice_ids(),
int(floor(BlockSessionService.get_core_question_total_elapsed_seconds()))
)
var result := BlockSessionService.submit_core_attempt(selected_choice, eliminated, flagged) if BlockSessionService.session_kind == "core" else BlockSessionService.submit_bookmark_attempt(selected_choice, eliminated, flagged)
if result.is_empty():
@@ -1322,7 +1323,8 @@ func _submit_or_next() -> void:
QuestionBankService.record_first_attempt(
question_id_for_attempt,
selected_choice,
_presented_choice_ids()
_presented_choice_ids(),
int(floor(BlockSessionService.get_current_elapsed_seconds()))
)
current_answer = BlockSessionService.answer_current(selected_choice, eliminated, flagged)
_show_answer_review()