[wp-trac] [WordPress Trac] #23497: Revisions Rewrite using JS/Backbone

WordPress Trac noreply at wordpress.org
Mon Mar 4 00:42:20 UTC 2013


#23497: Revisions Rewrite using JS/Backbone
---------------------------------------+------------------------
 Reporter:  adamsilverstein            |       Owner:  westi
     Type:  enhancement                |      Status:  reviewing
 Priority:  normal                     |   Milestone:  3.6
Component:  Revisions                  |     Version:  3.5.1
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |
---------------------------------------+------------------------

Comment (by adamsilverstein):

 '''updates:'''

  * asynchronous fetch of revision diffs:
    * initial Collection fetch gets list of revisions with meta-data,
 including 'needs loading' flag for possible comparisons
    * literates thru revision models that need loading and fetches diffs
 for these models
    * even with many revisions, you can now start sliding almost
 immediately, spinners show until data loads
    * current code fetches all model data asynchronously, one call pre
 revision
    * revision fetches are throttled to 200ms to avoid hammering the server
 if there are lots of revisions, consider lazy loading?

  * hide 'compare two' option when only two revisions available (possible
 easter egg location?)
  * includes previous code patches, including ethitter's ajax-actions.patch
 and compare-two.patch corrections

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23497#comment:54>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list