[wp-trac] [WordPress Trac] #27403: Improve UI for linking areas of Customizer preview to corresponding controls (desktop and mobile)

WordPress Trac noreply at wordpress.org
Mon Oct 10 17:51:45 UTC 2016


#27403: Improve UI for linking areas of Customizer preview to corresponding
controls (desktop and mobile)
-------------------------+-----------------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Customize    |     Version:  3.9
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui, javascript
-------------------------+-----------------------------

Comment (by sirbrillig):

 Status update for the patch:
 - Trying to figure out how to get `partial.showControl()` to work with a
 menu (currently does nothing).
 - Also noticed a bug (actually noticed by @westonruter in the plugin repo
 [https://github.com/Automattic/customize-direct-
 manipulation/issues/23#issuecomment-251543800] ) where partials do not
 call their `ready()` method when first added.
 - Experimenting with injecting the icons directly to the elements in the
 DOM (mostly working!).
 - Need to find/make an event that is triggered when a partial is removed
 so the associated icon can be removed.

 Sorry for my slowness here. I'm not super-familiar with the selective
 refresh code and the panel focusing code. If anyone has any help to offer
 on the above, please let me know.

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


More information about the wp-trac mailing list