Skip to content

Search results dropdown should only use one line per result #3171

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

Closed
Hixie opened this issue Sep 19, 2022 · 1 comment · Fixed by #3181
Closed

Search results dropdown should only use one line per result #3171

Hixie opened this issue Sep 19, 2022 · 1 comment · Fixed by #3181
Assignees
Labels
area-web-design Something a web designer interested in helping could do. type-enhancement A request for a change that isn't a bug

Comments

@Hixie
Copy link
Contributor

Hixie commented Sep 19, 2022

I've been using the new Search experience in dartdoc for a few days now and I think we can improve it further with some small changes. Because each entry in the drop-down takes four lines and three font styles plus a big box, it's relatively hard to scan the results and there are very few results on the screen at a time.

I think this could be improved by using only one line per result with fewer words overall, more like a typical autocomplete UI, for example more like what GitHub does when you type @ (but with the class and member names, and maybe library names, rather than people's identities, of course!).

@srawlins
Copy link
Member

I agree. Great suggestion.

@srawlins srawlins self-assigned this Sep 20, 2022
@srawlins srawlins added type-enhancement A request for a change that isn't a bug area-web-design Something a web designer interested in helping could do. labels Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web-design Something a web designer interested in helping could do. type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants