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

Diagnosys: Add a finish action when you are retrying the last question. #867

Merged
merged 1 commit into from Mar 7, 2022

Conversation

jhoobergs
Copy link
Contributor

@jhoobergs jhoobergs commented Nov 26, 2021

Currently when you are retrying the last question, there is only one action: the retry, which is then automatically executed and gives a strange flickery effect without the student really knowing what happened. This PR adds a stop action which stops the exam by not setting a next question. This implies that there are 2 possible actions in the end, which prevents the flickery effect by letting the student decide whether to retry or not. It also fixes the next_diagnostic_question which didn't check for null.

Currently there is only one action: the retry, which is then
automatically executed and gives a strange flickery effect without
the student really knowing what happened.
@jhoobergs jhoobergs marked this pull request as ready for review November 29, 2021 15:36
@jhoobergs
Copy link
Contributor Author

@christianp Any comment on this? (no hurry :) )

@christianp christianp merged commit 2571717 into numbas:master Mar 7, 2022
@christianp
Copy link
Member

Sorry it took me so long to look at this! This change seems good, and I've merged it. I made the text "End the test" translatable.

@jhoobergs jhoobergs deleted the improve/diagnosys_script branch March 7, 2022 18:21
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.

None yet

2 participants