Commit graph

15 commits

Author SHA1 Message Date
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