difference(s) since last saved revision #53
Comments
And, when reviewing older versions, in addition to “view” and “restore”, how about “diff against current version”. |
+1 |
Marking as high priority because this one seems popular... |
What about a wiki-style way to move between revisions? Visit any page and click "history" and then to be able to select between revisions. For this to be workable, the people using the document would have had to manually mark revisions at logical places. Etherpad's versioning system "ups" revisions wayyy too quickly for it to be practically useful. The output would look like this: http://en.wikipedia.org/w/index.php?title=Robert_Hues&action=historysubmit&diff=368472372&oldid=368445724 |
I think you really only need two time-sliders, and a normal unified diff or colorized full-text between them :) |
redhog's suggestion sounds best: I'm imagining a three-column layout, two time sliders above the left- and rightmost columns, the middle column being the diff |
@laughinghan, that makes a lot of sense. I didn't understand what @redhog meant, but presuming it's that, I think that's a spectacular layout. Way better than what I suggested! Any ideas on what would be a good diff engine? Is there an open source one that could be leveraged? I found this one so far (Google's diff from diff/merge/patch): http://code.google.com/p/google-diff-match-patch/ Anyone have any ideas of what would be the best kind of diff engine for displaying changes? |
GNU diff can output good stuff. Actually, you only need one text view, not theree, if you use colorization for additions/deletions. I think some wikis already do that :) |
I believe that the best layout would be as following (ASCII art) UI behavior:
|
Yes, yes and yes. The one thing I would add is that the time sliders should stay locked (or framed) at the top. Tragically, in the current time slider design, as you scroll down the page, the time slider stays on the page and is no longer visible. You can't actually drag the slider to see how a document changed. So if you want to look at how text changed that is more towards the bottom of the document, you'd have to scroll up, slide the timer and then scroll down again. |
@dchandler: I'm assuming you're talking about making the slider position:fixed? Great idea, in fact that would really should be done on the current time slider thing, too. |
Separating the position:fixed issue out into its own ticket |
Diffamation is a research project with some good ideas about how to show revisions: The document history shown at the top gives a clear overview of the history of the document, and the sidebar makes it easy to see offscreen changes as you scrub through the history. The code is open source, written in Java, available here: http://www.aviz.fr/diffamation Should provide some inspiration :) |
The diffamation animations look like they could be pretty easy to implement in recent HTML variants. Example:
The diffamation seems to be about animating the addition of inserted content and deletion of removed content. A pretty simple CSS transition will do and can be displayed by any web browser supporting CSS transitions. The only hard part is HTML diff (and keeping the vertical scroll position stable in case of big changes to document). |
Diffamation seems very much like what the timeslider already does, plus a bit of red and green instead of by-the-letter-diffs... |
That's the bit that it sells itself on, but personally I find that timeline along the top that shows you the entire document history more interesting. It also goes a bit further toward solving the problem of viewing changes outside the visible window. If you're not convinced I think fanny chevalier would be interested in discussing her ideas further. She did a nice talk at the last ubuntu developer summit. |
let me add my 2 euro cents and say, I think what we need is to get those "stars" to correspond to saves in git. |
holtzermann17: What??? The stars corresponds to "Save revision" in the document editing UI. What has git got to do with it??? |
michaelforrest: Please invite her to the IRC channel (tell me/everyone in advance when she's gonna show up if it's just a one off and she doesn't wanna hang out there forever) |
@redhog: I should have linked to http://github.com/ether/pad/issues/issue/42 -- |
+1 I just heard some universities (language and linguist faculties) are still not switching to OpenOffice, because the revision handling in it is buggy. (or tracking / recording changes feature in other words). I was just trying to use etherpad for putting together a business proposal. |
Hi, just came across this thread. Thanks Michael for mentioning my work on Diffamation. I would be happy to talk more about it, if you guys are interested. You may also find another, more recent project I worked on of your interest: Gliimpse - http://www.aviz.fr/gliimpse/ Don't hesitate to contact me for further discussion! Fanny |
Oh this is really old but good timing(as of today) as this is now available on etherpad master in 2 formats.
So all bases covered if you don't use the old etherpad. Update today @ http://etherpad.org |
The novelty of Diffamation and Gliimpse lies in the smooth animated transitions. It doesn't look to be what etherpad supports (or I can't find it?) My understanding is that the timeslider replays a screencast (which differs from Diffamation, which smoothly transitions between two revisions). |
Right but the title of this issue and the original request was "difference(s) since last saved revision |
Thanks for your reply john. I came across this thread serendipitously yesterday, and since my work was mentioned there, I was just offering to follow up the discussion in case I can facilitate the integration in your tools. |
Ah okies :) |
exists in etherpad lite |
Small things like edit distance or new word count would be helpful to display live.
The text was updated successfully, but these errors were encountered: