Add user progress dashboard
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user