﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
23497,Revisions Rewrite using JS/Backbone,adamsilverstein,westi,"
notes:
 * to install, apply the diff and extract images in wp-includes-images.zip into wp-includes/images (images from jquery-ui-slider)
 * interface rewritten with JS/Backbone
 * to use, click Revisions: 'View' link, in post publish box
 * design cues from @karmatosed [http://core.trac.wordpress.org/attachment/ticket/23396/revisions9.png here] and @lessbloat [http://cl.ly/image/1u232c3Z3M0o here] (and developed in #23396) 
 * revisions are loaded asynchronously
 * allows rapid review of all revisions using previous/next buttons and a slider
 * always shows what each revision contains - what it removed, added and what was unchanged, compared to the preceding revision
 * each diff is pre-calculated for rapid paging through revisions
 * allows comparison in split view or combined view, ajax refresh
 * allows user to show or hide (default) auto-saves, ajax refresh
 * skips revisions which include no changes, including the first save (note - unchanged revisions are no longer saved, see #7392)
 * includes link to old revisions system, for these missing features: revisions list, compare any two revisions and the easter egg :)

 the attached is a proof-of-concept, with plenty of room for improvement:
  * currently the diff view is not rendered until all revisions are loaded
  * diffs are calculated with each load, cache these calculations?
  * hook to turn off new revisions system for backwards compatibility, plugins
  * only load whats changes when options changed for auto-saves, split/combined view options ( currently refreshes revisions from server and logic is there )

 screenshots:

  [[Image(http://f.cl.ly/items/3W1x092I0g0I1u2V3L2r/linktorevisions.png)]]


  [[Image(http://f.cl.ly/items/0U2V0J3n2x3P0a440r3U/revisions2.png)]]
",enhancement,closed,normal,3.6,Revisions,3.5.1,normal,fixed,needs-patch needs-testing,erick@… mdhansen@… bpetty adamsilverstein@…
