Allow option to Default Diff to the last time a user visited the file

Chairman13 - May 17, 2009 - 20:23
Project:Diff
Version:6.x-2.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I love the inline diff's ability to highlight the new text in a collaborative document. It's incredible.

At my site, we create collaborative stories, and for our purposes, it would be extremely helpful to have an option that would allow the default revision to be set as the User's last visit to the file. So that the two files that were compared, were the newest revision and the revision the last time the user visited the file.

The ability to cycle through revisions is really nice, and I totally see the need for it, especially when there is need to see who contributed what. ...but if the additional ability existed, to default to where it highlighted everything since the user last visited the file, that would be an incredible feature.

Of course...this may be something that few others would find useful. I dunno. But, if it was an easy addition, that would be awesome.

#1

Chairman13 - June 2, 2009 - 16:21

I can tell this isn't something that would be useful to the massess. Drat. :)

Would anyone be willing to work on this feature for a contribution to the project, or give me a quote to let me know how much it would be to develop this feature?

Again, it would be to have the option to view the Diff between the current version, and the users last visit to the document.

Thanks so much. :)

#2

peterpoe - June 10, 2009 - 23:44

I could do a small custom module that does this in a couple of hours for a small donation :)
If I understand, you just need that the radio buttons in node/[NID]/revisions are set by default:
- The first, on "current revision".
- The second, on the first revision before the last time the user viewed the node.

#3

Chairman13 - June 11, 2009 - 01:22

Yes! I think. ...but, in inline diff.

So that the highlighted output shows on the view tab...rather than on the revisions tab.

Is it still a fairly minor obstacle?

...and if so, what would be a reasonable donation and where do I make the contribution to ensure that it goes to your project efforts?

Thanks for your reply! :)

 
 

Drupal is a registered trademark of Dries Buytaert.