modmore / VersionX

Resource & Element Versioning Extra for MODX Revolution (supports 2.2 and up). Extends the core in a future-proof manner to keep copies of every change to resources, templates, template variables, chunks, snippets and plugins.
https://modmore.com/extras/versionx/
40 stars 20 forks source link

Better interface for wind-back comparisons #98

Open jcdm opened 6 years ago

jcdm commented 6 years ago

The interface for browsing of revisions in Wordpress is excellent and worthy of comparison for structure.

Rather than having two drop lists to compare, it has a slider which allows the user to quickly browse back and forth in time with the side-by-side of the code below.

image

Dragging the slider results in instant updates indicating that all versions are pre loaded and JS is being used to switch them rather than AJAXing each update on request for comparison.

If the 'Compare any two revisions' box is ticked, a second slider is added and the 'current' is replaced with wherever the second slider is positioned. This is pictured below with the inclusion of the info box that pops up as you click and drag (in single or double mode) which provides information about the time and editor for that particular save.

image

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/58596049-better-interface-for-wind-back-comparisons?utm_campaign=plugin&utm_content=tracker%2F805489&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F805489&utm_medium=issues&utm_source=github).
muzzwood commented 2 weeks ago

I like it. Currently in 3.x we've got combined diffs displaying for each delta, but in the future being able to switch between compare modes on the fly would be nice!