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!