Search Improvements

OurWork Search Improvements

What (summary)

A few simple improvements to search to return results that people want.

Why this is important

Our search is one of the things people use the most. It needs to be much, much better.

DoneDone

  • Before you search, the search box has the grayed out words "enter a domain name or other search term"
  • When you first click on the search box that has the grayed out words, the words disappear
  • After you search, the search box keeps your latest search term in it
  • When you click in a search box that has a kept term, the term stays
  • If you set the global $auSearchReturnsAllPopulatedCategories, then search returns categories that have elements in them even if the category page hasn't been created yet (is empty)
  • If you set the global $auSearchJumpsToPopulatedCategories, then search for SomeName goes to matching pages in the following order:
    • Existing page SomeName in the main namespace
    • Existing category SomeName in the category namespace
    • non-empty category SomeName that doesn't yet exist
  • When redirecting via CaseSpace, preserve the search terms in a session cookie or via some other mechanism so that they remain in the search box

Steps to get to DoneDone

  • Clone a fresh copy of Live branch.
  • Quick fix the focus issue on the Search Box.


Retrieved from "http://aboutus.com/index.php?title=Search_Improvements&oldid=14740043"