[wp-trac] [WordPress Trac] #42114: Customize Menus: UX Improvements
WordPress Trac
noreply at wordpress.org
Mon Oct 16 07:33:09 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 bpayton):
Replying to [comment:14 westonruter]:
> [snip]
> 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?
I agree this kind of function could be useful outside of core. The reason
I wanted to define it as an internal function is that I'm not 100% sure
this is the right signature and behavior for general use, and it's much
easier to change an internal function after the fact. I'm not against
making it available though.
>
> 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].
I'd considered it and was initially uncomfortable because I imagined a
function like `highlightElement` doing the highlighting with colors rather
than animation, but I don't think it matters. Both are simply drawing the
user's attention. I'll make the switch. Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42114#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list