-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add SearchView #147
Add SearchView #147
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably need to ellipsize this, but otherwise it is looking good. It would also be nice to get the bold text like in Applications Menu, but that can be a follow-up. Nice work so far!
(Demonstrated with https://github.com/elementary/switchboard-plug-about/tree/long-search-string-demo)
@cassidyjames oops. You think middle ellipsize is probably good for that? |
@danrabbit yeah probably. We end-ellipsize in Applications Menu but I think middle will help ensure the most precise bits are visible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another note: because the search entry gets disabled, you can get it into a weird state if you're in a search and then try to open a plug from a settings:// URL, i.e. from an indicator or the Applications Menu search—there's no way to get out of the search to see the open plug without clicking a result or hitting the back button.
Instead, we should make sure to close the search when opening a plug.
Edit: oops, ignore my playing with alignment here, I was testing some unrelated things locally 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lfg
Fixes #98
Fixes #139