WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24716, comment 37


Ignore:
Timestamp:
06/25/14 20:41:53 (3 years ago)
Author:
ericlewis
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24716, comment 37

    initial v1  
    66* In `media.view.MediaFrame` (and by extension its descendants, all frames), introduce a `mode` property as an array, which will persist states. For now, this includes `select`/`edit` and `grid`. This helps in microtemplates when deciding within an attachment view whether to display UI which is specific to the grid (i.e. fields to show below each Media item). By default the media grid will be in `edit` mode, and Bulk Edit mode will use the `select` mode.  
    77* Introduce `showAttachmentFields` as an option for `media.view.AttachmentsBrowser`. This will eventually be a persistent user-specific setting which dictates which fields to display underneath a media item's thumbnail in the grid. Trickles down to `media.view.Attachments` and finally `media.view.Attachment`. Utilize `controller.options.mode` in the `media.view.Attachment`'s microtemplate to decide whether or not to show the fields.  
     8 
     9UPDATE: This is not ready for commit, just a bookmark and share functional decisions.