Problem/Motivation
When we show a list of node revisions - i.e. a list of recent changes - for all nodes on a site, it would be great to have a views field which generates a link to compare that listed node revision with its previous revision, or the text "New" if there is no previous revision available.
Issue fork diff-3311234
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jurgenhaasThis is now working but needs some extra steps:
Comment #4
jurgenhaasThis is now ready for review.
Comment #5
jurgenhaasAdded a line to prevent the base field renderer to turn the output to a link even if there isn't any previous revision.
Comment #6
jurgenhaasAdded another option to only compare to the previously published revision.
Comment #7
heddnFor this to be reviewed and accepted, please review https://git.drupalcode.org/project/diff#contribution-guidelines. Specifically, we'll need some tests.