processing / Processing-Hour-Of-Code

Repository for an interactive one-hour Processing tutorial.
hello.processing.org
56 stars 14 forks source link

Code Reload #24

Closed scottgarner closed 11 years ago

scottgarner commented 11 years ago

We have three scenarios for reloading code and most of the underlying work is done. Users will always have the option to:

1) Revert to the last good run. This option will also be presented when an error is caught. 2) Revert to their code from the last lesson. This will only appear during the "homework" section when that code is available. 3) Revert to the example that Dan gives at the end of the lesson. This will only appear in the "homework" section.

I need to make sure all scenarios are accounted for and we'll all need to decide on the best labels. Right now the plan is to have all three options reside under one button in the editor. I have basic UI elements in place for this on the site, but the buttons don't work yet.

scottgarner commented 11 years ago

The three reload scenarios outlined above should be functional now as a submenu under "Reload" in the editor. We'll probably want to show/hide them as appropriate depending on where in the lesson the student is.

scottgarner commented 11 years ago

This functionality is in place. Specific buttons will be shown or hidden per hint.