shibro
Show the version of “The results page says what was searched and how many matched”

Search and navigation · SU-349

The results page says what was searched and how many matched

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Heading no count, no query
  • Query kept in field “jacket”
  • Scope chips 4 with counts
  • Search field empty after searching
  • Heading count + query

What changes

Bad
An h1 of “Search results”, an empty field, no count and no scope chips, so 128 matches look like any list.
Good
The heading reads 128 results for “jacket”, the query stays in the field, four scope chips carry counts, and matched words are bold.

The rules

  • SU-349

    Search results pages restate the query and the count. The results page says what ran: a heading with the count and the query ("128 results for “jacket”"), the query kept in the field, and the page title carrying it too. Offer up to 5 scope chips with counts, and mark matched terms with bold or <mark>, never color alone. When the engine corrects the query, say "Showing results for X" with a link to search for the original. Count, sort and filter placement follow SU-266.