Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy linked workflow resources when linking (copying) a workflow to a project #3192

Closed
camallen opened this issue Oct 17, 2019 · 3 comments
Closed

Comments

@camallen
Copy link
Contributor

Copying (linking) a workflow to a project should also copy any existing required resources (workflow translation, tutorials & their translations) for the workflow.

A use case is the lab app copying workflows in/between projects or the education API. They can use this end point to simplify the client code and get a full working copy of the workflow and associated resources.

@lcjohnso
Copy link
Member

Related issue: for project copying = #3126

@lcjohnso
Copy link
Member

Related: JS code used to create new translation resource -- see here: https://github.com/zooniverse/pandora/blob/2b16ecbb1e4357bc08109f4b3c093f838b973c1c/src/ducks/resource.js#L101-L136

This code could serve as a model for implementing similar functionality for project copying use case.

@camallen
Copy link
Contributor Author

this was mostly implemented in #3626 - we now have full workflow and translation cloning support. We don't currently copy the workflow tutorial but can revisit if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants