wpsharks / wp-kb-articles

KB Articles for WordPress; adds a new Custom Post Type.
http://wpkbarticles.com/
2 stars 1 forks source link

Search box missing a "clear" button #99

Closed raamdev closed 9 years ago

raamdev commented 9 years ago

If you use the Search box to search the KB, the search text stays there indefinitely, even if you're no longer looking at search results and you've navigated to category-specific or tag-specific results.

The only way to "clear" the search box is to manually refresh the page (which defeats the purpose of the AJAX-nature of the entire KB) or to put your cursor in the box and manually delete the search text. Both of these make doing a new search rather annoying (you first have to do some work to clear the text for your old search). I would expect to see a little "X" icon next to the search icon that instantly clears the search text.

2015-03-25_17-51-19


What Actions Need To Occur Here?

raamdev commented 9 years ago

I would also expect the "clear" button here to clear not just the search results, but also the Search box contents itself:

2015-03-25_17-57-38

raamdev commented 9 years ago

If clicking the Category tab twice is modified to clear any current filters as discussed in https://github.com/websharks/wp-kb-articles/issues/98, that should also clear the contents of the Search box.

raamdev commented 9 years ago

Here's the little "X" I was thinking should be in the WP KB Articles Search box, as seen here in the Slack search box when it contains some text:

2015-03-25_19-15-47

jaswrks commented 9 years ago

Adding a list of actions (↑ above) that need to occur.

jaswrks commented 9 years ago

This has been resolved. s2Member.com and ZenCache.com updated.

raamdev commented 9 years ago

Tested and confirmed fixed. Thank you!