RFR: 8236935: Improve UX of the search control

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Jun 19 16:04:13 UTC 2020


On 6/19/20 8:54 AM, Hannes Wallnoefer wrote:
> Thinking about this some more now I realize the better solution might have been to append the „loading…“ message to the end of the results until all index files have been loaded. If you think that’s a viable solution I’ll update the webrev and upload noew API docs to give it a try.
>
> Hannes

I understand the issue about the results jumping up when the "loading" 
message is finally removed. Does it help to followup on Pavel's 
suggestion earlier in the thread to adjust the selected entry accordingly?

Appending the message means you won't see it when there are lots of 
early hits, as for example when you search for 'Object'.  That may or 
may not be a common enough problem to be concerned about. The suggestion 
does have the attraction of being visually similar to the general use of 
"More..." at the end of a list to indicate there are more to come.

I also don't think we should over-compensate for long lists of results 
(i.e. search for Object).  Generally, I think the design center should 
be: if you get too many results, type more in the search box to narrow 
the set of results.

-- Jon



More information about the javadoc-dev mailing list