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
ignore optional free play levels in assessment progress and warning dialogs #24937
Conversation
78bcf08
to
c3a862f
Compare
c3a862f
to
4689781
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good!
@@ -11,6 +11,7 @@ Background: | |||
And I wait to see ".nextPageButton" | |||
And element ".nextPageButton" is visible | |||
|
|||
@skip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional to leave this @skip
tag in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
definitely not, thanks for catching!
@@ -4,8 +4,9 @@ import { onAnswerChanged } from './codeStudioLevels'; | |||
import { sourceForLevel } from '../clientState'; | |||
|
|||
export default class FreeResponse { | |||
constructor(levelId) { | |||
constructor(levelId, optional = false) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Default value false
is sort of redundant since you coerce to boolean a couple of lines below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I must have forgotten what language I was writing in 🤷♂️
Background
Teachers are still having difficulty viewing survey responses. In this zendesk ticket, the teacher suspects that students who skip optional free response questions are being scared out of confirming their submission after seeing this warning:
The solution proposed here is to mark some free response levels as "optional", eliminating them from the counting for whether to show this warning or a full progress bubble.
Description
the logic for progress bubbles and the dialog above are somewhat removed from each other, so it may be easier to look at individual commits to best understand the two changes.
ignore optional free play levels when computing assessment page progress bubble color (
e538012)
ignore optional free play levels when deciding whether to show incomplete survey warning (
e0ca1b8)
Follow-up tasks