Pub-dev: Removed Search bar from package description screen

Created on 15 Jul 2020  路  12Comments  路  Source: dart-lang/pub-dev

With the launch of a new UI, the search bar from the package description page has been removed which is annoying as if the user wants to search for some other package then he/she have to go back to the homepage or the last search.

I think showing a search bar, is good to have a feature (which was present earlier).

I would like to know your suggestions for the same @isoos

Most helpful comment

I miss search bar so much haha

All 12 comments

Would you expect such search bar to retain your SDK/platform filters?

@jonasfj yes, but atleast it should show me a search bar so that I can search any package by keyword.

I miss search bar so much haha

I miss the search bar as well. My use case is the following.
Run flutter pub outdated on my project and then browse the pub.dev website package by package to read the changelogs.
With the search bar I can quickly jump to the next package.

@davidmartos96: We do have a back to search icon, outlined here https://github.com/dart-lang/pub-dev/issues/3860#issuecomment-661011420

Do you have that? Isn't that useful? (It keeps the search context and filters, while a new search bar would drop that).

@isoos Yes I have that. The minor complaint is just that I need to first click the "Go back" button and then click again the search bar to focus it.
With the previous layout I could just start typing at the top if I know the exact package name (In this case, at least for me, I don't care if the filters are gone).
2 clicks is not that bad, unless you need to multiply that by some number, then it could get a bit annoying.
I've just wanted to share my use case :smile:

@isoos is it possible to replace Back to search button with an actual Search button :joy:?

@isoos Also, If you open any package description page from a URL. Then, you have no option to search from that screen. You need to go to the home screen and search.
So, I think we can add a search bar for this scenario at least. WDYT?

So, I think we can add a search bar for this scenario at least. WDYT?

I think we're leaning in this direction too.

Consensus is to add back a search icon in the top right corner, when clicked it expands to a search field, and auto-focuses the search input field, hitting enter will perform a search.

Search initiated from here will have no filters on SDK or platforms.

On mobile we can add a search field, to the menu in a separate section under the "create publisher" link:

VJLFNKQxCOp

Perhaps we need to tweak styling a bit, but something like this.

We've released a new version that has a search icon / unfolding search input at the top nav bar. I hope that resolves this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

erickzanardo picture erickzanardo  路  5Comments

prasant10050 picture prasant10050  路  4Comments

mit-mit picture mit-mit  路  5Comments

basilex picture basilex  路  3Comments

jonataslaw picture jonataslaw  路  4Comments