Skip to content

Design Forward: Search - redesign to filter in app + results from other apps #821

Closed

Description

@jancborchardt

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?

Activity

  1. karlitschek commented on Dec 11, 2012

    @karlitschek
    Contributor

    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.

  2. tanghus commented on Dec 11, 2012

    @tanghus
    Contributor

    That would be great.

  3. ghost assigned on Dec 20, 2012
  4. jancborchardt commented on Apr 3, 2013

    @jancborchardt
    ContributorAuthor

    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).
    • It allows for better integration into the app itself. The apps would have the search on the top of the app sidebar, and it would automatically filter both areas (app navigation and app content), instead of having this weird popover on the top right. Every app would only have one search bar. Also see how http://icloud.com does that, or, say, Google apps.
    • We can still do the »results from other apps« below search results as mentioned above.

    What do you think @butonic @karlitschek?

  5. jancborchardt commented on Apr 12, 2013

    @jancborchardt
    ContributorAuthor

    @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)?

  6. butonic commented on Apr 22, 2013

    @butonic
    Contributor

    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'?

  7. jancborchardt commented on Apr 22, 2013

    @jancborchardt
    ContributorAuthor

    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?

  8. abrown commented on Apr 22, 2013

    @abrown
    Contributor

    @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.

  9. bongosmurf commented on Jun 26, 2013

    @bongosmurf

    @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.

  10. jancborchardt commented on Jun 27, 2013

    @jancborchardt
    ContributorAuthor

    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

  11. MorrisJobke commented on Oct 7, 2013

    @MorrisJobke
    Contributor

    As this is a feature it won't make it in OC6 -> Milestone set to OC7

  12. removed this from the milestone on Jun 13, 2014
  13. added this to the milestone on Oct 20, 2014
  14. 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
  15. cweiske commented on Oct 29, 2014

    @cweiske
    Contributor

    A comment how I implemented search in cweiske/grauphel :

    • I support a more complex search syntax with quoting and exclusion, see https://github.com/cweiske/grauphel/#search - I implemented parsing myself but would have liked that owncloud shipped with such a query parser
    • Multiple database fields are searched
    • Search on a large number of notes is a time-consuming process, so always running search on the notes when looking for a file is not optimal
    • I'd also like to search on categories and display them as well. This means that one app could return multiple result groups.
    • I like that I only have to have to register a hook to get search working. Please keep that ease when moving search into the apps.

    Screenshot

  16. butonic commented on Oct 29, 2014

    @butonic
    Contributor

    @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:
    windows-8-file-explorer-search-100040091-large

    There should of course be a dashboard like app that shows you search results from all apps.

  17. butonic commented on Dec 2, 2014

    @butonic
    Contributor

    I am planning to work on this this week. Here is a short list of changes I intend to make:

    1. Make the search bar app specific: introduce inApps[] filter for search via ajax query #12555, davclient/client.js fails on IDN domain calendar#633, JavaScript tests are not running in drone CI contacts#725, https://github.com/owncloud/bookmarks/pull/106, make search results app specific owncloud-archive/search_lucene#46
    2. In the files app display search results in the content area instead of the tiny dropdown overlay
    3. To allow more sophisticated search queries parse the query string with the zend search lucene query parser and introduce a new searchByQuery method for search providers
  18. modified the milestones: , on Dec 2, 2014
  19. MorrisJobke commented on Jan 6, 2015

    @MorrisJobke
    Contributor

    @jancborchardt This is fixed once #12653 is merged, or am I wrong?

  20. butonic commented on Jan 6, 2015

    @butonic
    Contributor

    Partly. We should still introduce a query parser. But that can be tracked in a new issue.

  21. MorrisJobke commented on Jan 6, 2015

    @MorrisJobke
    Contributor

    @butonic Can you take care of this? Thanks

  22. butonic commented on Jan 7, 2015

    @butonic
    Contributor

    query parser tracked in #13155

  23. locked as resolved and limited conversation to collaborators on Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions