Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Feedback on search in 4.0.0 #5644

Closed

Description

@pmaier1

I have some feedback on the "Search all files" feature which was introduced in 4.0.0.

When I tried the feature, it felt unexpected because

  • the left sidebar disappears and the file list becomes full width which felt to me like a bug and not the case anymore
  • I can't easily go back without using browser navigation
  • also the behavior is inconsistent with the filtering mode (there the sidebar stays)

I would have expected that

  • when I click on "Search all files", the sidebar stays as it is and the file list shows the results
  • when I click the "x" in the search bar ("clear search"), I'm back at the location where I was before searching

Additional findings

  • When a search query does not have results, it doesn't indicate that. Users can still click on the "suggestion".
  • When I'm on the full page results list, the search suggestions don't work. I can can only click on the default "suggestion".

@tbsbdr @kulmann @pascalwengerter

Activity

  1. rpocklin commented on Aug 30, 2021

    @rpocklin
    Contributor

    I agree with @pmaier1 regarding the left sidebase disappearing (presumably because now it is it's own app, not part of files) - this is easily worked around by changing the sidebarNavItems function in App.vue to set const items = this.getNavItemsByExtension('files') instead of const items = this.getNavItemsByExtension(this.currentExtension) for the time being.

    Also agree that the [x] in the search bar should take you back in the browser history.

    Lastly I think a key missing feature is something we implemented previously which is searching sub-folders of the current folder only. Ie. not a global search, not a current folder search (aka filter) but searching the sub-tree of the current folder - this is the most intuitive search for most people and is really just a global search with a current folder filter after it.

  2. rpocklin commented on Sep 1, 2021

    @rpocklin
    Contributor

    If there are > 5 items (assuming 5 is the preview search limit) it would be good to show something like ' ... more ...' which is not selectable. I thought there was a bug since the preview of sdk search didn't show a file in the current folder, but it was just showing the first 5 results (which wasn't obvious, until I looked at the code).

  3. pmaier1 commented on Sep 16, 2021

    @pmaier1
    Author

    Added some more findings.

  4. tbsbdr commented on Sep 16, 2021

    @tbsbdr

    Loadspinner: Add something like a loadspinner so that users know, that they need to wait.

  5. AlexAndBear commented on Sep 5, 2022

    @AlexAndBear
    Contributor

    Already implemented sum up:

    1. Loading spinner
    2. Left sidebar disappears

    Todo sum up:

    1. Show indicator when the search results exceeds the limit (currently 5)
    2. Show indicator if no matches were found
    3. Hit x in search input will go 1 step back in browser history
  6. self-assigned this
    on Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions