Replies: 8 comments 3 replies
-
Several of my customers were asking for this. Especially when you have some sort of workflow where publishers have to put the entries online. |
Beta Was this translation helpful? Give feedback.
-
|
Has this been added or will this be added soon? |
Beta Was this translation helpful? Give feedback.
-
|
@justahutch Craft 3.4 is going to start showing which fields were edited within the draft (see https://craftcms.com/blog/craft-34). We would like to add a full-fledged comparison view down the road as well. |
Beta Was this translation helpful? Give feedback.
-
|
@brandonkelly Will there be audit trail type functionality to go with the diff view? Often we need to view a list of what has changed within a specific time frame, and who changed it. Filtering the list and clicking to view a diff in a quick view modal would be ideal. |
Beta Was this translation helpful? Give feedback.
-
|
@binarymonkey84 That’s a possibility down the road. |
Beta Was this translation helpful? Give feedback.
-
|
Diff view on entry level would be very useful. We moved to Craft from an in-house CMS which had it and the editors who work on dozens of revisions for each document are feeling the pain of having to re-read the full content instead of just comparing the differences. Looking forward to v.4 |
Beta Was this translation helpful? Give feedback.
-
|
To add to the conversation - field-level changes are useful, but not sufficient - especially in the case of page-long text content in a single field. What would be useful for our editorial team is similar to git's diff algorithms - showing the differences on a per character, word, or line basis. In the example text below you can see how an editor would have to carefully proofread both sides in order to spot the differences. This is tedious, time consuming, and error prone - a perfect use for software. I am aware of the difficulties of comparing text in the context of html documents which may include formatting. For editorial purposes stripping all formatting would be a viable option. |
Beta Was this translation helpful? Give feedback.
-
|
@brandonkelly Is this feature request still planned for development? We have multiple clients asking for this. It would be great if this could be included in Craft 6. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I love Craft's Drafts. Compared to everything else out there, the live previewing, combined with sharing of unpublished drafts work extremely well.
The only thing missing is when comparing a couple drafts or a draft with the live version, it'd be great to see what the differences are.
One simple option I'd love to see is having a "compare drafts" mode; when invoked, it'd pull up a live preview with forwards and backwards buttons where you can flip between the versions and spot the differences yourself between versions.
Looking at how other CMS do it, for example, ProcessWire has their upcoming ProDrafts feature where it shows only the fields that where changed (for example, in the case of an asset or relational field).
https://processwire.com/blog/posts/processwire-2.6.13-and-a-preview-of-prodrafts/
Some kind of diff tool for html / text fields would be superb.
It would really interesting if it also worked with live preview. Use something like John Resig's javascript diff tool on the 2 versions and then show the differences in the live preview.
http://ejohn.org/projects/javascript-diff-algorithm/
Handling the changed assets and matrix in the live preview would be the most challenging part I would guess, among other things, but I believe P&T could pull it off in a way that made sense.
Beta Was this translation helpful? Give feedback.
All reactions