[wp-trac] [WordPress Trac] #32710: Customizer Menus: improve the "no results found" message
WordPress Trac
noreply at wordpress.org
Wed Jul 29 05:40:26 UTC 2015
#32710: Customizer Menus: improve the "no results found" message
--------------------------+-----------------------
Reporter: designsimply | Owner: helen
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.3
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui
--------------------------+-----------------------
Comment (by helen):
[attachment:32710.5.diff] experiments with better messaging and hiding the
sections of available items when running a search. It is by no means a
production-ready patch - I'm looking for gut reactions here.
Does the following:
* When running a search, hide the available items sections.
* Search section always has a gray background to help visually separate
it.
* Removes the click handler for searching - unclear to me why it's there,
easy to restore.
* Shuffles some order of cases in the JS search function and fixes a usage
of `this.searchTerm` that appears to need to be `event.target.value`
instead.
There are a few things that are not polished. There definitely needs to be
at least one explicit way to clear search results / get back to the
sections of all available items. The fade out/in is just a basic one,
could likely use fine tuning in terms of timing and specific animation (if
any) if we go this route. I'm also not sure infinite scroll works for
search results given the height change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32710#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list