Commit Graph

35 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer 2eec8dc156 correctly update search results when query is changed, show spinner when searching 2015-01-02 14:22:48 +01:00
Jörn Friedrich Dreyer 0cca9e26c4 show no files found message 2015-01-02 12:50:21 +01:00
Jörn Friedrich Dreyer 457f5abf6c fix count 2015-01-02 10:28:42 +01:00
Jörn Friedrich Dreyer 0c55ef1a30 that -> self, add missing var 2015-01-02 10:28:42 +01:00
Jörn Friedrich Dreyer ff1c581dcb hide, esc, and backspace fixes 2015-01-02 10:28:42 +01:00
Jörn Friedrich Dreyer 63f8634042 allow getting the last query 2015-01-02 10:28:41 +01:00
Jörn Friedrich Dreyer 74fd31d9bf set empty filter when hiding results / esc 2015-01-02 10:28:41 +01:00
Jörn Friedrich Dreyer 980f88c9b5 remove globe fallback icon 2015-01-02 10:28:41 +01:00
Jörn Friedrich Dreyer b93f2ddcb5 hide header when no files in list match 2015-01-02 10:28:41 +01:00
Jörn Friedrich Dreyer 7e6c660b00 filter new rows 2015-01-02 10:28:41 +01:00
Jan-Christoph Borchardt 423a3047d7 first style fixes to search results 2015-01-02 10:28:41 +01:00
Jörn Friedrich Dreyer 606f802b7b move search results below filelist, show hint when results are off screen, use js plugin mechanism 2015-01-02 10:28:41 +01:00
Jörn Friedrich Dreyer 0e9b05b701 ajax paging, some js cleanups 2015-01-02 10:28:41 +01:00
Jörn Friedrich Dreyer c738359a11 add paged provider 2015-01-02 10:28:41 +01:00
Jörn Friedrich Dreyer 088323aad5 move code from js.js to search.js in the search app 2015-01-02 10:28:41 +01:00
Jörn Friedrich Dreyer d3662722f6 new OC.Search, add search result formatters and handlers, use full content width for results 2015-01-02 10:28:41 +01:00
Jörn Friedrich Dreyer 0ba3093196 full page search results 2015-01-02 10:28:41 +01:00
Vincent Petry d71cd680dd Include core translations
Moved search result type translations to search.js

Load JS translations earlier

Translations need to be loaded earlier to make sure that some JS files
like search.js get access to translations at this time.

This requires the template initialization to be moved to after session
initialization, because only after the session we have access to the
current language.
2014-10-29 10:09:12 +01:00
Jörn Friedrich Dreyer 331f9cb98d add / to url to match route 2014-09-04 13:58:37 +02:00
Jörn Friedrich Dreyer 0e2f51bbb8 fix '' to '/' when determining parent for search result 2014-07-03 16:02:20 +02:00
Jörn Friedrich Dreyer 7c29645f22 allow apps to add translation for search result typeid 2014-06-06 11:28:43 +02:00
Andrew Brown 5dc2e73fe0 Simplify client-side result customization
The issue was that search results from other providers (contacts,
calendar, etc.) were unformatted, like 'event' or 'contact', while the
built-in event types (folder, file, etc.) were being modified by custom
result functions to something like 'Files' or 'Folders'. The fix is to
capitalize and translate all result types by default. Custom formatting
is still allowed (and example documentation has been added) but the
built-in result formatters where now unnecessary and were removed.
2014-06-05 19:23:44 +02:00
Jörn Friedrich Dreyer 3510674d24 use path param to create scrollto url 2014-06-05 19:23:44 +02:00
Jörn Friedrich Dreyer b03755c0ec fix minor typos 2014-06-05 19:22:22 +02:00
Jörn Friedrich Dreyer c2e413e852 add fixme 2013-09-17 18:45:38 +02:00
Jörn Friedrich Dreyer 8bdafaf4e0 make 'open in folder' action default for files 2013-09-17 18:40:52 +02:00
Jörn Friedrich Dreyer b40925ae17 initial scrollto implementation:
use places/folder icon,
move link construction to JS,
only show icon on hover,
use 'searchresult' as css class name,
add filter/unfilter methods,
highlight searched files in current filelist
only filter when correct FileList is present
2013-09-17 18:40:51 +02:00
Jörn Friedrich Dreyer 0dd7fd0599 IE8 does not support window.onclick 2013-02-21 17:38:25 +01:00
Bart Visscher 9c4c79346c After selecting a search result, hide the results 2012-09-28 21:18:20 +02:00
Bart Visscher 7749875a0d Fix 'Search only shows the app name of the first app'
Fixes: oc-1369
2012-09-17 20:00:31 +02:00
Bart Visscher f4b937c6fe Simplify search result js code 2012-06-22 20:31:59 +02:00
Robin Appelman 5ef407d1c9 keyboard shortcuts for search results 2011-07-31 04:03:48 +02:00
Robin Appelman 291d8c73f8 dont hide the results if a new search yield no results 2011-07-31 02:05:07 +02:00
Robin Appelman e6821e9d7c Show play and add-to-playlist buttons in instant search results
for now this only works from inside the media app
2011-07-31 00:50:04 +02:00
Robin Appelman aa08196c32 some interface work on instant search 2011-07-30 21:18:54 +02:00