Add clinical progression ranks and records
This commit is contained in:
@@ -553,6 +553,9 @@ func _apply_first_attempt_response(parsed: Dictionary) -> void:
|
||||
_apply_rating_change(rating)
|
||||
CreditsService.apply_award_response(parsed)
|
||||
DailyMissionService.apply_response(parsed)
|
||||
if typeof(parsed.get("progression")) == TYPE_DICTIONARY:
|
||||
DashboardService.data["progression"] = parsed.get("progression")
|
||||
DashboardService.dashboard_changed.emit()
|
||||
# Let Tutor users inspect the final answer before the summary replaces the player.
|
||||
StudySessionService.apply_response(parsed, true)
|
||||
choice_percentages_updated.emit(question_id, percentages)
|
||||
@@ -560,6 +563,9 @@ func _apply_first_attempt_response(parsed: Dictionary) -> void:
|
||||
|
||||
|
||||
func _apply_skip_response(parsed: Dictionary) -> void:
|
||||
if typeof(parsed.get("progression")) == TYPE_DICTIONARY:
|
||||
DashboardService.data["progression"] = parsed.get("progression")
|
||||
DashboardService.dashboard_changed.emit()
|
||||
var question_id := str(parsed.get("questionExternalId", parsed.get("question_external_id", "")))
|
||||
var correct_choice_id := str(parsed.get("correctChoiceId", parsed.get("correct_choice_id", "")))
|
||||
var percentages: Dictionary = parsed.get("choiceSelectionPercentages", parsed.get("choice_selection_percentages", {}))
|
||||
|
||||
Reference in New Issue
Block a user