No indication if an in-page CTRL-F search is returning results


(Michael Downey) #1

Continuing the discussion from How should we implement polls?:

I’m not sure if this is a bug or just a TODO …

It seems that (on a Chromebook, anyway) when searching a long thread with CTRL+F I get topic results that match the term entered, but I have no way to see whether or not there are any yellow highlighted terms matching the term without scrolling through the entire topic, visually scanning for the yellow highlight. (And no way to quickly move through them like a traditional browser in-page search.) There’s no clue like “N matches on this page”, etc.

My assumption, since I couldn’t see any results or any indication of the screen moving, etc., is that it was only searching topics themselves and not within the topic I had currently loaded.


(Sam Saffron) #2

This is a feature request, not a bug.

Can you do a few mocks of how you would like this to work?


(Jeff Atwood) #3

You have to click or tap the search results to get navigated to the match, like so, here I did the following

  1. Clicked search icon
  2. Typed “list” without the quotes
  3. Clicked the first match


Search keyboard shortcuts hijacked?
(Michael Downey) #4

Ah, I see what you did there. Clever. :slight_smile:

I guess it wasn’t obvious (to me) that the first n results were results on that page. Because they were listed under “Topics” my mind just assumes they’re each different topics.

Perhaps those type of results could have their own header similar to “Topics” or “Users” along the lines of “Matches from this topic”?


(Jeff Atwood) #5

It should not say “Topics” there @sam. This is wrong now.


(Sam Saffron) #6

I guess it should just clear the text or say “Results” cause it can be Topics and/or Posts.


(Michael Downey) #7

“Results” would be better than “Topics” for me, but I think my confusion is because I’d only expect that box to show results from the site search. Combine that with the fact that there’s little visual distinction between the types of results, well, simple-minded me just thought they were all the same. :slight_smile:


(Jeff Atwood) #8

Not exactly, just display no text there for now. The other sections would be “Users” (search matches users too) and “Categories” (and categories).

You could also display “Matches” or some other generic text but I think blank is OK for now and simpler. Omit Needless Words. The main unit of work on a forum is topics and replies, so it should be clear… only matches to non topic stuff needs special names IMO.


(Jeff Atwood) #9