Open shaunanoordin opened 6 years ago
@shaunanoordin we could switch the education api to use a panoptes clone workflow endpoint. It would then be responsible for syncing / cloning any existing translations as well. https://github.com/zooniverse/rfc/issues/34#issuecomment-400585648
Probably easier than maintaning custom code to clone client / app side as per https://github.com/zooniverse/education-api/blob/13d94709c0f5a61bdef330aa01848cd21c856663/app/operations/assignments/create.rb#L33
Feature Request
When creating a new Assignment for a WildCam classroom (i.e. for WildCam Darien Lab or WildCam Gorongosa Lab), the new Assignment's workflow should have all the translations of the original workflow.
Background / The Problem
WildCam-type Assignments are considered "custom assignments" in the Education API. This means that every time a new Assignment for WC Darien Lab is created, a new workflow is cloned from the original WC Darien project's original workflow, but with a smaller subject set.
While this cloning process works, we've discovered that these newly cloned workflows do not also copy the original workflow's Translations resources, meaning only the default (English) workflow text is shown.
This is an issue as the current WildCam Labs are designed to support at least two languages - English and Spanish - to correspond to the actual classrooms that these labs are intended to be used in.
The Solution?
Recommendation: when a "custom assignment" clones a workflow from an original workflow, it should also clone the Translations resources.
This can be supported by the API, see https://github.com/zooniverse/panoptes/issues/3192 for details.
(Alternatively: the cloned workflow should link to the original Translation resource, if that's somehow a thing.)
Thoughts and Concerns
Status
Priority: medium
Impact: without this feature, WildCam Darien Lab would only function as intended in English-speaking classrooms. (WildCam Gorongosa Lab wouldn't be as effected since it currently sits on a CFE, and has not yet migrated into the centralised Zooniverse Classroom platform.)
Time factor: possible to get this done by Autumn 2018?
Can we bargain on this: Donde está la biblioteca
Tagging @eatyourgreens for highlighting the original issue (detected on Pandora), and @camallen for proposing the solution.