You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Design Forward: Search - redesign to filter in app + results from other apps #821
Currently the search is only global, and has a small popup detached from the rest of the interface. It’s not really possible to filter contents from the local app, which will get really impractical with lots of files or other very text-based apps like Mail, Notes etc.
@butonic and I discussed a better approach for this:
The search should prioritize the currently used app. That is done by live-filtering the content (like Gmail, Dropbox, etc do it). Then below these results of the current app, related results from other apps can be shown. So when you search for a document and come to the end of the list (which might be only 3 entries) there will be similarly named calendar entries, contacts, and so on – visually distinguished of course.
Mockups to follow. What do you think about the general idea, especially in comparison to the current approach?
Expanding on this, I think it’s best to move the search from being »global« in the header, to be inside the applications directly. This is better for several reasons:
If search is in the header, it is expected to search everything. The problem is that simply only a few apps support search in the first place. Even Files doesn’t support it fully (shared folder).
@butonic what’s your take on my latest comment up here (having search not global in the header, but only in apps to better integrate it, and only in apps which support it)?
I just had a look at how google handles the problem: go ahead with a search bar per app. I still like the search everything app @andrewsbrown started. It aggregates search results from all providers ... and should be an extra app, maybe the future 'dashboard'?
Yeah, that’s also how Apple does it, or any app really. Search needs to be tightly integrated into the app to be useful.
@butonic@andrewsbrown wasn’t the »search everything« app also supposed to replace the current search? Is it possible to use it as an engine where apps can hook into? Like a search API, or something like that?
@jancborchardt and @butonic: yes, the search app I created pulls results in from any app. Each app has to provide a provider class and a result class as well as a line or two in appinfo.php to work. I added the necessary classes to all of the apps currently in the 'apps' repository that already had some type of search implemented (approx 8-9); see my pull request for more details.
@jancborchardt and @butonic :
Looking at the current Thunderbird UI, it has two search bars. This might be an option for oC as well:
Keep the existing search bar and function where as it is and add a second search bar for each app just below it.
When there is no search term given, each field should indicate in very light script, what it searches.
The presence or absence of an app-specific search bar might in the future also serve as an indicator of whether the app is searcheable by global search.
To be honest, Thunderbird is not a guide for us when it comes to design. Two search bars are even more confusing, and while we might have it in a development transition period, it will never be in a release.
What we can do is change it in the Files app, that is putting the search in there and removing it globally. This is ok since search is currently best integrated with Files anyway. Apps like Pictures and Music could follow suit with implementing a local search bar in the same dev cycle.
changed the title [-]Search: redesign to filter in app + results from other apps[/-][+]Design Forward: Search - redesign to filter in app + results from other apps[/+]on Oct 27, 2014
@cweiske yes, the idea is to only show the search bar when the app registered a search provider. However only the search results of the currently opened app will be returned: when in the files app you will no longer see results from contacts or notes. Furthermore, just typing in the search field should filter the visible content. Personally, I like the Idea of pressing enter to trigger a real search as in googles search bar. @jancborchardt gave his comment on that in #11635 (comment), pointing out it might confuse people.
I think there is a difference between filter, which reduces visible content and find, which adds visible content. Take the files app as an example: filter here means filtering the currently visible file list. finding means showing query matches from other folders as well, sth. like the windows 8 explorer search:
There should of course be a dashboard like app that shows you search results from all apps.
Activity
karlitschek commentedon Dec 11, 2012
I think this makes sense. The most important think is currently of course the files search. But having it for other apps too is also a good thing.
tanghus commentedon Dec 11, 2012
That would be great.
jancborchardt commentedon Apr 3, 2013
Expanding on this, I think it’s best to move the search from being »global« in the header, to be inside the applications directly. This is better for several reasons:
What do you think @butonic @karlitschek?
jancborchardt commentedon Apr 12, 2013
@butonic what’s your take on my latest comment up here (having search not global in the header, but only in apps to better integrate it, and only in apps which support it)?
butonic commentedon Apr 22, 2013
I just had a look at how google handles the problem: go ahead with a search bar per app. I still like the search everything app @andrewsbrown started. It aggregates search results from all providers ... and should be an extra app, maybe the future 'dashboard'?
jancborchardt commentedon Apr 22, 2013
Yeah, that’s also how Apple does it, or any app really. Search needs to be tightly integrated into the app to be useful.
@butonic @andrewsbrown wasn’t the »search everything« app also supposed to replace the current search? Is it possible to use it as an engine where apps can hook into? Like a search API, or something like that?
abrown commentedon Apr 22, 2013
@jancborchardt and @butonic: yes, the search app I created pulls results in from any app. Each app has to provide a provider class and a result class as well as a line or two in appinfo.php to work. I added the necessary classes to all of the apps currently in the 'apps' repository that already had some type of search implemented (approx 8-9); see my pull request for more details.
bongosmurf commentedon Jun 26, 2013
@jancborchardt and @butonic :
Looking at the current Thunderbird UI, it has two search bars. This might be an option for oC as well:
Keep the existing search bar and function where as it is and add a second search bar for each app just below it.
When there is no search term given, each field should indicate in very light script, what it searches.
The presence or absence of an app-specific search bar might in the future also serve as an indicator of whether the app is searcheable by global search.
jancborchardt commentedon Jun 27, 2013
To be honest, Thunderbird is not a guide for us when it comes to design. Two search bars are even more confusing, and while we might have it in a development transition period, it will never be in a release.
What we can do is change it in the Files app, that is putting the search in there and removing it globally. This is ok since search is currently best integrated with Files anyway. Apps like Pictures and Music could follow suit with implementing a local search bar in the same dev cycle.
In which cycle we do this is better decided by @butonic and @andrewsbrown
MorrisJobke commentedon Oct 7, 2013
As this is a feature it won't make it in OC6 -> Milestone set to OC7
[-]Search: redesign to filter in app + results from other apps[/-][+]Design Forward: Search - redesign to filter in app + results from other apps[/+]cweiske commentedon Oct 29, 2014
A comment how I implemented search in cweiske/grauphel :
butonic commentedon Oct 29, 2014
@cweiske yes, the idea is to only show the search bar when the app registered a search provider. However only the search results of the currently opened app will be returned: when in the files app you will no longer see results from contacts or notes. Furthermore, just typing in the search field should filter the visible content. Personally, I like the Idea of pressing enter to trigger a real search as in googles search bar. @jancborchardt gave his comment on that in #11635 (comment), pointing out it might confuse people.
I think there is a difference between filter, which reduces visible content and find, which adds visible content. Take the files app as an example: filter here means filtering the currently visible file list. finding means showing query matches from other folders as well, sth. like the windows 8 explorer search:

There should of course be a dashboard like app that shows you search results from all apps.
butonic commentedon Dec 2, 2014
I am planning to work on this this week. Here is a short list of changes I intend to make:
MorrisJobke commentedon Jan 6, 2015
@jancborchardt This is fixed once #12653 is merged, or am I wrong?
butonic commentedon Jan 6, 2015
Partly. We should still introduce a query parser. But that can be tracked in a new issue.
MorrisJobke commentedon Jan 6, 2015
@butonic Can you take care of this? Thanks
butonic commentedon Jan 7, 2015
query parser tracked in #13155