panoptes icon indicating copy to clipboard operation
panoptes copied to clipboard

Track "live workflow version" instead of disallowing edits while project is live

Open marten opened this issue 9 years ago • 6 comments

What happens currently is that people just unlive their project, make edits, and relive. All it really does is prevent accidental edits to the workflow. But since liveness and publicness are two concepts, people will still be doing work while a project is not live.

A better solution is that Workflows track their "live version" (as defined by Papertrail). That's then the version the public API returns, but in the project builder you always see the latest version, and are free to make changes constantly. Whenever a workflow is in a neat state again, the project builder should have a "deploy" button to make the latest version the live one.

We'll probably need to add a version parameter to the workflows so that you the PB can request "latest" while without a version it returns the deployed one.

Other additions might be to allow owners to preview the latest in the classify page, and to allow owners to revert the live version to a previous version in case of problems with the latest one.

marten avatar Dec 01 '15 17:12 marten