[wp-trac] [WordPress Trac] #21390: Upload/Insert media revamp

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 19 00:34:05 UTC 2012


#21390: Upload/Insert media revamp
----------------------------+--------------------------
 Reporter:  nacin           |       Owner:  koopersmith
     Type:  task (blessed)  |      Status:  accepted
 Priority:  high            |   Milestone:  3.5
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------------

Comment (by koopersmith):

 In [21906]:
 {{{
 #!CommitTicketReference repository="" revision="21906"
 The first inklings of a gallery management screen.

 * Adds `view.Workspace.Library` and `view.Workspace.Gallery` as extensions
 of `view.Workspace` to implement the individual screens
 * Shifts the toolbar logic that was library-specific from the generic
 `Workspace` view to `Workspace.Library`.
 * Adds a toolbar to the `Gallery` view.
 * 'Create a gallery' and 'Return to media library' buttons toggle between
 the two views.
 * 'Insert gallery into post' closes the modal, but does not actually
 perform its namesake action.
 * Note that elements can still be deselected in the gallery view. This
 will be fixed in a future commit.

 Improvements to avoid over-eager event unbinding:
 * `Modal` views now properly detach their contents before replacing them
 with a new element.
 * Likewise, `Workspace` views detach their main content blocks when re-
 rendering the view.

 To test the gallery workflow (which is incomplete), run the following in
 your browser's console:

         `wp.media({ multiple: true });`

 see #21809, #21390.
 }}}

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


More information about the wp-trac mailing list