Create interactive site chooser.
Attachment: already implemented interface in data table visualization close search.png
Attachment: google reader did exactly the same dropdown already! it works great. we should the same :-) google-reader-selector.jpg
see search UI.png attachment for detailed use case
attached an autocompleter after some minor patches, IE compatible now.
Cool new feature - here is my code review - the query to select a website on name matching should reside in the website API rather than CoreController - pressing enter without selecting a website leads to 404, instead it should trigger the search for the entered keyword - is the initial load loading all websites? I don't think it is expected, what would happen if the piwik has 10000 websites? Instead, could it load only the first N websites? - when no result is found, the Loading... should be replaced with "No website found for '$SEARCHED_STRING'" - on firefox, the arrow on the right is on top the vertical bar on its left, which looks a bit funny - the font looks different from the font used elsewhere in the UI, should reuse the same CSS class?
When this is bug free, we can integrate this with core, nice new feature.
New version (v3), bug fixed, improvements made.
From a maintenance perspective, I'm a little concerned that the jSuggest developer's site has been marked as unsafe. There's also jSuggest "Enhanced", http://www.rajavarma.com/wp-content/uploads/2009/07/jquery.jSuggest.1.1.js which we should diff against for bug fixes.
Alternatively, see if https://jqueryui.pbworks.com/Autocomplete (in the development stage) can be used instead of jSuggest.
Maciej, what is the status of the site selector? Is this something you are happy pushing to Piwik core? Please validate and I will do the code review.
vnese: see #1235
it would be great to switch to jquery UI, is anyone keen to make the code change (shouldn't be difficult I don't think)?
Note: the HTML is now done in trunk, the JS + PHP has to be ported in trunk, from the plugin attached to this ticket.
The code is in: https://github.com/piwik/piwik/blob/master/plugins/CoreHome/templates/sites_selection.tpl#L44
(In ) fixes #5708
(In ) Refs #5708 Fixing build
(In ) Refs #5708 Adding css file but still missing
but still missing the autocomplete.js which I don't have - Maciej?
(In ) fixes #5708 added missing autocomplete.js
(In ) Refs #5708
ts77, can you please contact me at matt att piwik.org? would love to hear a bit more about your use case of 6k sites, how is your experience with Piwi, and how we can improve it with that many websites. Thanks