Hello @mflorea,
Loading...
I am not really sure I understand this need. It needs to be clarified, not confused with āsearch string suggestionsā and make sure that what weāre providing does not create any confusion about this.
What Google (mentioned in Loading...) does is to suggest search strings, not results, based on what other people have searched before. This is definitely not what the quicksearch of XWiki does nor what it can do, as XWiki is not storing peopleās search queries.
If you launch a search on Google with āsomethā as the search string, the results are for āsomethā and Google suggests to update the search to āsomethingā but does not search for āsomethingā.
I guess for me Loading... would makes sense if presented as a ālive resultsā, kind of thing: having results live as you type and the more you type the more the results get precise to match your typing, which is when prefix searching would make sense, as it would always assume that what the user has typed is the prefix of something longer.
Unify / merge the Jump to Page feature with Quick Search. Thereās no point in maintaining both when they do almost the same thing.
Iām -1 on this, and, while weāre at it, we should rollback the jump to page feature to do raw page reference exact matching, on both the search itself and on showing results. The point of maintaining both is that one is a power user technical feature (jump to page) for when one knows exactly the reference of the page and wants to find the page by reference, while the other is a user oriented feature, full text search (the quick search).
Add links to view all the results for each category (search source)
While this may be a good idea, I think itās important to also keep a way to access the search page for the typed string. If I understand correctly, fully submitting the search form would actually do that, so weād basically have 2 ways of accessing the full results page:
- submitting the search form
- clicking on each individual āview more ā¦ā links.
Iām afraid the first method is very useful and needed but not that discoverableā¦
Make the UI consistent by using a Bootstrap dropdown to display the results
I think we may need to try also to see what happens with longer page names and longer paths, to choose the proper width of the dropdown (may need to be a bit wider).
Otherwise this looks good, thanks for the work!