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

ignore optional free play levels in assessment progress and warning dialogs #24937

Merged
merged 6 commits into from Sep 24, 2018

Conversation

davidsbailey
Copy link
Member

@davidsbailey davidsbailey commented Sep 21, 2018

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:
screen shot 2018-09-20 at 9 23 17 am

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.

  1. ignore optional free play levels when computing assessment page progress bubble color (
    e538012)

  2. ignore optional free play levels when deciding whether to show incomplete survey warning (
    e0ca1b8)

Follow-up tasks

  • once this reaches levelbuilder, mark any optional free response levels in csp/csd 2018 surveys as optional.

@davidsbailey davidsbailey changed the base branch from restore-submitted-progress-bubbles to staging September 21, 2018 05:23
@davidsbailey
Copy link
Member Author

I may have linked to the wrong commits earlier. please see updated description.

levelbuilder screenshot:
screen shot 2018-09-21 at 3 28 42 pm

Copy link
Contributor

@islemaster islemaster left a 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
Copy link
Contributor

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?

Copy link
Member Author

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) {
Copy link
Contributor

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.

Copy link
Member Author

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 🤷‍♂️

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