[wp-trac] [WordPress Trac] #24716: Grid view for the Media Library

WordPress Trac noreply at wordpress.org
Mon Jun 30 13:15:11 UTC 2014


#24716: Grid view for the Media Library
--------------------------+---------------------------------------------
 Reporter:  alexvorn2     |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:  ui, javascript, administration
--------------------------+---------------------------------------------
Changes (by ericlewis):

 * keywords:  dev-feedback has-patch => dev-feedback


Comment:

 attachment:24716.12.diff​​​ is still a work in progress, and should not be
 considered for commit, only for feedback.

 Brief notes: Pagination now works in the Edit Media Item modal. Basic
 styles have been applied. Things work, albeit a bit rough around the
 edges.

 Hard notes:
 * Copy a lot of styles from the theme browser for admin UI visual parity.
 These should move into common selectors for separate modules to share.
 * Pagination works by bubbling up an `edit:attachment:previous` and
 `edit:attachment:next` event from the EditAttachment frame to the Manage
 frame. An EditAttachment frame is bound to editing one attachment, it
 closes and then a new one is immediately instantiated by the Manage frame.
 `hasPrevious` and `hasNext` options are passed in the hash when
 instantiating an EditAttachment frame. Architecture inspired by the theme
 browser here, I'm into it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24716#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list