[wp-trac] [WordPress Trac] #42114: Customize Menus: UX Improvements
WordPress Trac
noreply at wordpress.org
Sat Oct 14 22:25:19 UTC 2017
#42114: Customize Menus: UX Improvements
----------------------------+-----------------------
Reporter: melchoyce | Owner: bpayton
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.9
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui
----------------------------+-----------------------
Comment (by westonruter):
@bpayton I can't think of a better place to add this function than
`wp.customize.utils`, since you're using it across multiple files. If you
want to keep it private, then I suggest prefixing with an underscore and
marking `@private`. But, if I recall correctly, the Customizer on
WordPress.com has some of the same kind of bouncing effects; so it seems
to me that this kind of function should be available for use outside of
core?
As for naming, you might want to consider “highlight” terminology. This is
used in [https://github.com/WordPress/wordpress-develop/blob/master/src
/wp-admin/js/customize-widgets.js customize-widgets.js].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42114#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list