InfoCommons / cic

Apache License 2.0
0 stars 0 forks source link

Add size of resultset to top of results table #163

Closed ryscher closed 1 year ago

ryscher commented 2 years ago

(similar to existing site)

sg3847 commented 2 years ago

@ryscher The existing site by default shows "Search results for covid found the following 1883 results.". I'm guessing this is because it's getting the result set using "covid" keyword behind the scenes from a larger set. Since we are not doing a default search using "covid" keyword, we can't have the same message. How do you want to handle it? Some options are:

  1. We can change the message to be "Showing 1883 results" (and not show the keyword at all).
  2. Show the message ""Search results for "" found the following 1883 results." (as you type the keyword, "" changes to the keyword)
  3. Switch between 2 separate messages. a) A default message when there's no keyword (same message as 1 above) and, b) Existing CIC message (as in 2 above) when keyword exists.
ryscher commented 2 years ago

Option 1 is good.