[wp-trac] [WordPress Trac] #19570: Post Formats: admin UI + fallbacks for themes that don't support them
WordPress Trac
noreply at wordpress.org
Sat Feb 9 23:28:43 UTC 2013
#19570: Post Formats: admin UI + fallbacks for themes that don't support them
-------------------------------------+------------------
Reporter: alexkingorg | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.6
Component: Editor | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+------------------
Changes (by helen):
* keywords: needs-patch => has-patch needs-testing
Comment:
[attachment:19570.3.diff] is a more refined and testable patch for
functionality, with some minimal styling and the addition of
wonderboymusic's `get_post_format_meta()` function from #23347. Use in
conjunction with #23347 to test theme fallback output.
== Things that should be addressed before a first-run commit: ==
* Wiring up the media modal to the image and gallery formats and inputs. A
preview of the image/gallery should appear within a placeholder area and
the input should be hidden, perhaps with `hide-if-js` rather than
`type="hidden"`.
== Further to-dos: ==
* Screen option for show/hide of post format selector and fields.
* Possible logic for intelligently not showing the selector/fields at all
if a screen option is not explicitly chosen.
* Tab styling that starts with a reusable base component for core. Semi-
related: #17959
* Icons for the tabs and smaller ones for the fields - URL, quote, quote
source, embed code/URL, image, gallery (see no-JS for the last two).
* Format-specific layouts for image, gallery, video, audio, and possibly
status.
* Post content label (e.g. "Transcript" for chat format).
* Optional title for some formats - should always be able to edit, even if
it's "click to edit" for the optional ones.
* Auto-generation of post titles when it's not required. Should try to be
smart with ones that may not contain any text, e.g. image (use caption or
alt?).
* Fetching of an inline preview for video/audio.
* If we do #23282, also wiring up the media modal to video/audio.
* Responsive layout considerations.
* No-JS: selecting one should save a draft; query arg should select format
on load (also useful beyond no-JS); image and gallery input, since there's
no media modal.
* Accessibility: tab ordering, particularly coming from the title, and any
other considerations.
* Help text.
Anything in the second list or otherwise that should absolutely be done
before a first-run commit?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19570#comment:38>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list