- Issue created by @cosmicdreams
- πΊπΈUnited States cosmicdreams Minneapolis/St. Paul
In addition, please consider http://dgo.re/workspace_parallel to be included in your plans.
- π¬π§United Kingdom catch
but that "fix" would be insufficient as the content team would have to undo all of their edits for a piece of content to reduce it down to the fine-grained change that needs to go out now.
One way to do this that's doesn't require conflict resolution, would be to revert to the published revision when when moving the content to a new workspace for the quick edit, then after that revert back to the previous draft state in the original workspace - i.e. redoing the changes that have just been undone. That leaves the content editors responsible for manually integrating whatever changes was just published to live, but it doesn't destroy their work. I think this might be pretty close to the 'force push' you're talking about, not sure what a good UX for it would look like.
At DrupalCon, hchonov mentioned https://www.drupal.org/project/conflict β 2.x branch handles auto-merge of conflicts where changes are in different fields, that seems like a great step towards not blocking changes and already exists.
- πΊπΈUnited States cosmicdreams Minneapolis/St. Paul
Thanks catch that does sound like it would work. I want to focus in on side thought you brought up:
not sure what a good UX for it would look like.
What I can see as good UX for this is to not provide a new UX. Simply remove the constraint for editing content that is also in a Workspace. Allow content to diverge. And then when it comes time for conflict resolution, default to "force push" logic. Which would mean the last revision saved is the new revision.
Since that seems like the obvious choice, and was likely considered, I'm pretty sure there are problems with that approach I'm not thinking of. Otherwise, why not just do this?
- π¬π§United Kingdom catch
@cosmicdreams I think this is what CPS module did (with a warning), but when it came to the core MR, we defaulted to 'not losing data' in the hope we could add proper conflict resolution later on.
Are you already using http://dgo.re/workspaces_parallel ? Or to put it differently, why does that module not solve the problem?
- πΊπΈUnited States cosmicdreams Minneapolis/St. Paul
My next workspace adventure will focus on giving workspaces_parallel a try. My focus needed to shift to End-of-Month / Start-of-Month work. Which in part means supporting a content team as they use a solution that leverages cloning entities for a content push. After the push is over, I'll have a window of opportunity to demo a solution that uses workspaces / workspaces_parallel as an alternative to what we're currently doing.