Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Don't pester students with "this cannot be undone" message #347

Open
jpslav opened this issue May 20, 2014 · 0 comments
Open

Don't pester students with "this cannot be undone" message #347

jpslav opened this issue May 20, 2014 · 0 comments
Assignees

Comments

@jpslav
Copy link
Member

jpslav commented May 20, 2014

Currently, when a student works a problem they are required to "lock in" their free response before being shown an exercise's multiple choice options. The purpose of this stems from a cognitive science principle that it is better to have a student retrieve the answer from their brain before recognizing it in a list.

When a student submits their free response, we popup a simple browser popup saying something like "are you sure you want to lock in your answer? This cannot be undone". This is said over and over, even though the student probably gets the idea after working the first problem. After all, the button does say "Submit".

This task is to convert this warning message to a jquery dialog (we have existing infrastructure / helper methods for displaying them, see message_dialog and specified_dialog methods in the JqueryHelper). The dialog should have an checkbox with a "Don't show this message again option", and if they select it we should obviously not show it again.

We'll need to store the fact that they don't want to see this option again. I'm open to ideas on how to do this. I think because of the fact that we often log them out, we'll need to store this choice in the database instead of in the session. Storing whether or not to show one-time messages like this will likely come in handy in other "tour"-like settings where we want to convey helpful information to first-time users of different parts of our site. Hopefully, we'll be able to reuse the design for other sites (and possibly bundle in a gem).

cc @kjdav @Dantemss

navilan added a commit to navilan/ost that referenced this issue Jun 13, 2014
- Add user_settings migration, model and controller.
- Add JS to intercept for confirmation.
- Add dialog HTML.
navilan added a commit to navilan/ost that referenced this issue Jun 15, 2014
- Add a hidden field to make sure the `save_and_lock` parameter
  expected by the controller is provided.
- Rename `AddUserSettings` => `CreateUserSettings`
- Remove `null => true` according to @Dantemss' comment.
navilan added a commit to navilan/ost that referenced this issue Jun 15, 2014
navilan added a commit to navilan/ost that referenced this issue Jun 23, 2014
- Add gem dependency.
- Add configuration file for unconfirm.
- Include JS and HTML.
- Add migrations.
- Modify free response and multiple choice submissions
  to use unconfirm.
navilan added a commit to navilan/ost that referenced this issue Jun 28, 2014
jpslav added a commit that referenced this issue Jun 29, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants