Skip to content

Exercise randomize default mismatch #3244

@rtibbles

Description

@rtibbles

Observed behavior

In the user interface for editing exercises, if nothing has been toggled for randomize then it shows as unselected in the UI. However, when publishing, if there is no randomize attribute in extra_fields it assumes that it should be randomized.

This mismatch would lead to confusion.

Expected behavior

I think the simplest fix is for the UI to display randomize as checked if extra_fields.randomize is undefined, this would then be in line with the publishing behaviour. Changing the default in publishing might have unexpected consequences for cheffed channels and previously published channels.

User-facing consequences

Confusion about ordering of questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions