Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show suggestions for search #516

Open
3 tasks
danirabbit opened this issue Nov 21, 2021 · 2 comments · May be fixed by #518
Open
3 tasks

Show suggestions for search #516

danirabbit opened this issue Nov 21, 2021 · 2 comments · May be fixed by #518
Labels
Needs Design Waiting for input from the UX team Priority: Wishlist Not a priority, but something that might be nice

Comments

@danirabbit
Copy link
Member

Problem

There's currently no way to know that things like settings and actions can be searched without just trying it

Proposal

We should do a few things here to make search more learnable:

  • By default, place focus somewhere else so you can see placeholder text
  • Switch to the search view whenever the search entry is focused
  • When the search entry is blank, show a placeholder that lists the types of things that can be searched (apps, settings, actions)

Prior Art (Optional)

Siri has a view where it lists a bunch of things you can search for with examples of the query in quotes, and clicking them executes that search:

main-qimg-057a0604e05782c3af7dab6e03c308c7

@danirabbit danirabbit added Priority: Wishlist Not a priority, but something that might be nice Needs Design Waiting for input from the UX team labels Nov 21, 2021
@danirabbit danirabbit linked a pull request Nov 23, 2021 that will close this issue
3 tasks
@teamcons
Copy link

I dont really understand the two first suggestions ?
The third one IMHO does not compromise functionality. A italic dimmed out placeholder "Search through installed applications, settings, and actions" makes it clear what the search you type in is for, and that it is out of the way. You can ignore it but its there.
It also seem very simple to do.

@danirabbit
Copy link
Member Author

@teamcons the first point is more of a quirk of how GTK3 works. In gtk3 when a text entry gains focus its placeholder is hidden. In gtk4 the placeholder is hidden after you start typing

The second point describes how you can reveal this information since the search bar is on the same page as the app grid. Alternatively the search page could be an entirely different page hidden behind an icon for example, but I think being able to start typing right away is a pretty essential feature. So we can put keyboard focus on the first app in the grid and then if you manually move focus to the search entry yourself, replace the grid with this information.

However there is a question of how to hide this and get back to the app grid so I dunno. I think that's maybe somewhere I stalled out in the prototype I did

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Waiting for input from the UX team Priority: Wishlist Not a priority, but something that might be nice
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants