[wp-trac] [WordPress Trac] #21809: Edit galleries in the media modal

WordPress Trac noreply at wordpress.org
Sun Oct 28 23:29:18 UTC 2012


#21809: Edit galleries in the media modal
----------------------------+--------------------------
 Reporter:  koopersmith     |       Owner:  koopersmith
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  3.5
Component:  Gallery         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------------

Comment (by koopersmith):

 In [changeset:"22320"]:
 {{{
 #!CommitTicketReference repository="" revision="22320"
 Give media a heart transplant.

 Revises the concept of the media controller and workspace views (i.e. two
 central points of control) to be more granular. The main media object is
 now the `Frame`, which is a hybrid view and state machine.

 The state machine is a collection of states, which are just generic
 instances of `Backbone.Model`. This circumvents the problem of juggling
 global parameters when changing states. Each state contains its own event
 loop. All events are also forwarded to the frame itself (as is the case in
 all model/collection relationships).

 The frame view contains several regions, each of which can be overridden
 without harming or re-rendering the other regions. These work well when
 used in conjunction with the state machine events.

 This removes the upload sidebar (don't worry, visible upload UI will
 return). Drag and drop uploading still works. The ability to upload has
 been abstracted into its own view (instead of being attached to the
 central workspace view).

 Editing galleries is temporarily broken — the gallery creation and editing
 experiences will be unified in a future patch.

 Adds events to detect dragging changes in `wp.Uploader` and adds methods
 to detect and leverage browser support for CSS3 transitions.

 see #21390, #21809.
 }}}

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


More information about the wp-trac mailing list