It would be nice if I could make a view of a node's revisions that includes diffs. The goal would be to display diffs in a compact format that might work like the Project issue tracking module.

The reason I am asking for it here is the Project issue tracking module appears to be bound to the Project module, but the ways it shows changes could be really useful on other content types.

I've filed #633294: Make this module more generic in their queue, but I think exposing diff functionality to Views could be a more flexible way for me to create my own diff view.

Not sure if this is possible--may be an issue for Views--but would then be nice to interpose comments and diffs in one consolidated view.

Comments

technikh’s picture

subscribing

aren cambre’s picture

Version: 6.x-2.x-dev » 7.x-2.0-beta2

Shouldn't there be a 7.x-2.x-dev branch? All I could find is 7.x-1.x-dev.

newtoid’s picture

+1

colan’s picture

Version: 7.x-2.0-beta2 » 7.x-2.x-dev

Marked #1213164: Link from Views to Diff comparison page as a duplicate of this issue.

mattbk’s picture

I'm looking for something like this as well. My use case would be to load a series of revisions for a single node and then filter on whether a certain field was changed in that revision (since the previous revision only). The filter could be something like "Diff:Field has changed."

Leeteq’s picture

Priority: Normal » Major

Just being able to link to a node's revisionS overview page instead of to a specific revision would be great, plus: dynamically directly to the diff between the two latest revisions of each node listed in the view: The view could list node titles where each title links directly to the "diff" between that node's two latest revisions.

mitchell’s picture

Version: 7.x-2.x-dev » 7.x-3.x-dev
Status: Active » Postponed

Bumping to 3.x branch.

Postponing for #1371916: Restructure around the Entity / Field system, because making cachable diff objects would solve this issue.

mitchell’s picture

Marked #670160: filter revision list by taxonomy term as dependent on this issue.

steve.colson’s picture

Mitchell,

Just checking to see if this is still on the table? I think the issue you marked this postponed for has been resolved, no?

We are working on something for entity translation that would really benefit from this functionality.

Thanks!

waltercat’s picture

Checking here to see if there has been any progress made here. I am trying to use Rules to send a single email to specific users on a daily basis that lists all the changes made to a node. The only way I think I can do this is by collecting those updated nodes into a view and then send them out via the Rules Scheduler. However I can't add the diff field to a view.

I can add a diff replacement pattern to a Rules email, but I can currently only attach one Email to one node. So when my scheduler runs, it send out multiple emails. Being able to add the diff changes to views would allow me to send a view instead.

ñull’s picture

Similar to waltercat I would like to have a field in views that hold the difference between the active and previous revision. I want to use this for a "Send mass mail" action to notify users.

Media Crumb’s picture

So is there currently no way to show diffs in a view? I've been looking for a solution to this issue for a while now.

matt.rad’s picture

+1 Subscribing.

Bojhan’s picture

Issue summary: View changes
Status: Postponed » Active

The other issue is in, what is left to do to make this happen?

alan d.’s picture

what is left to do to make this happen?

A developer with some free time and willingness to assign themselves to this issue ;)

dawehner’s picture

#2636406: Add a views form integration for diff provides this for Drupal 8 and well, it should be totally doable to be backported to Drupal 7.

alan d.’s picture

Status: Active » Closed (duplicate)
Related issues: +#2636406: Add a views form integration for diff