zooniverse / scribeAPI

scribe API
MIT License
79 stars 25 forks source link

Add support for workflow-specific tutorials (#330) #473

Closed beefoo closed 8 years ago

beefoo commented 8 years ago

I added the ability to have workflow-specific tutorials. In the tutorial config, I added a key called "workflows" that can contain workflow keys (i.e. "mark", "transcribe", "verify"). Each can contain a hash that is in the same format as the existing tutorial hash.

If a tutorial hash exists for a given workflow, it will override the default tutorial for that workflow. If no workflow tutorial hash exists for a workflow, the default tutorial will display. Thus, the change is backwards compatible for any existing tutorial config.

I also added the ability to invoke the tutorial on the transcribe page (it currently does not exist)