[wp-trac] [WordPress Trac] #34923: Introduce basic content authorship in the Customizer

WordPress Trac noreply at wordpress.org
Tue Jun 7 04:03:01 UTC 2016


#34923: Introduce basic content authorship in the Customizer
-------------------------------------+-------------------------------------
 Reporter:  westonruter              |       Owner:  westonruter
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.6
Component:  Customize                |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch ux-feedback    |     Focuses:  ui, accessibility,
  ui-feedback needs-testing          |  javascript
-------------------------------------+-------------------------------------
Changes (by celloexpressions):

 * keywords:  needs-patch has-patch ux-feedback ui-feedback needs-testing =>
     has-patch ux-feedback ui-feedback needs-testing


Comment:

 [attachment:34923.3.diff] is a complete functional first-pass without the
 plugin dependency.

 The necessary bits of the Customize Posts plugin have been extracted to
 the patch, but accordingly, the plugin must be deactivated before the
 patch will work.

 The patch also includes the following iterations:
 - Create auto-drafts for new posts, and publish them when the user saves &
 publishes in the customizer.
 - Add new content as items in the appropriate available menu items panel
 section, at the top, and auto-scroll to it.
 - Place the new content inputs before the list of available menu items in
 the taborder for improved keyboard accessibility.
 - Only allow one item to be added at a time, and wait for the post to be
 successfully added on the server before adding the item to the menu (this
 is how customize-posts works, and probably necessary although it slows the
 experience down).
 - For now, support for terms will be punted to a future ticket, with the
 information @boonebgorges provided as a basis for research on the best
 approach.
 - Restore the disallowed new content types filter, with future support for
 taxonomies, as its purpose is in between `show_in_nav_menus` and
 `show_in_customize` for post type registration.
 - Use the loading spinner when adding an item.
 - Items can be added to other menus once they're created.

 This patch is ready for testing (including user testing), accessibility,
 docs, and dev feedback. @westonruter and @valendesigns have been working
 through several edge cases that are causing issues for the customize posts
 plugin; we'll need to identify which also apply here (not being able to
 edit the newly-added posts simplifies things here).

 The biggest known to-do is showing links to edit the newly-published items
 when they're published, which would ideally use #35210. We could also put
 in a temporary solution for now that will leverage that API when it
 becomes available in the future.

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


More information about the wp-trac mailing list