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

Display help text on browse page and null search page #3062

Closed
hnykda opened this issue Feb 26, 2018 · 14 comments
Closed

Display help text on browse page and null search page #3062

hnykda opened this issue Feb 26, 2018 · 14 comments
Assignees
Labels
feature request usability UX/UI design, user experience, user interface

Comments

@hnykda
Copy link

hnykda commented Feb 26, 2018

Hi,

I think that it would make much better impression if the packages were sorted by e.g. download count/popularity/update rather alphabetically by default.

When you click on Browse project and it takes you to the search page, it looks like this:
image

That's not really a very flattering choice of packages for Python, and more importantly, it's very probably not what a user wants to see. Clearly, what the user wants to see most likely is something more correlated with usage/download/popularity/visited rather than alphabet.

@di
Copy link
Member

di commented Feb 26, 2018

This is sort of just a side-effect of a sort "by relevance" of an empty query -- since there's no way to determine the relevance to the query without a query, by default we just get an alphabetical list.

Doing anything with download counts here is currently blocked on #699 (we don't actually have the download counts "in" Warehouse right now). It's also not really as good of a metric for "interestingness" as you might expect.

We don't currently have a metric for "popularity" and since PyPI attempts to be a "neutral" catalog, we aren't likely to add one in the near future (see #991).

However, I would agree that this is not a great page to dump the user to when they click the "Browse" link. I think we could do one of two things here in the short-term:

  1. If the query is empty (no search string or classifiers selected), we default to some helpful guidance message instead of showing the result list, something like: "To begin your search, enter a search query or select a filter from the list on the left"
  2. Remove the "browse projects" link;

I think 1) is probably the right way to go, but will need some wordsmithing from @nlhkabu @brainwane et al.

@brainwane brainwane added UX/UI design, user experience, user interface feature request usability labels Feb 26, 2018
@ewdurbin
Copy link
Member

+1 to Empty Query => "hey put in a search term!"

+1 to Remove "Browse Projects" link.

@di
Copy link
Member

di commented Feb 26, 2018

The downside to removing the "Browse Projects" link is that if we do, there isn't a great path for the user that just wants to start applying classifiers, so I'm not sure I'm +1 on that.

@ewdurbin
Copy link
Member

In that case "Browse Projects" could be the same view and the help text could be

"Enter a search term or start selecting classifiers"

Until we have something... anything.. to select on... just display the help text?

@pv
Copy link
Contributor

pv commented Feb 28, 2018

Changing the "browse projects" ordering to "Date last updated" would also improve the situation.
If the project was updated recently, at least someone is interested in it (at least if we ignore spamming).

@brainwane
Copy link
Contributor

In our meeting this week we decided to provide a temporary fix of some kind here -- for instance, just providing the help text, or something like that -- for launch. And then at some future time we can make a more robust solution.

@brainwane brainwane added this to Milestone 4: Redirect/Launch in Warehouse rollout Mar 1, 2018
@brainwane
Copy link
Contributor

@nlhkabu please let us know if you're blocked and need any more guidance on what the initial temp fix here ought to be.

@nlhkabu
Copy link
Contributor

nlhkabu commented Mar 7, 2018

I agree with @di that it would be a shame to hide this - because it gives people a way to find packages using only filters.

I think the best temporary fix is to do what @pv describes - to change the default order (when no search is applied) to be "date last updated".

Another solution might be to show nothing by default, and add some placeholder text like "Search or apply filters to view relevant packages"

I will rely on @di to tell me which is easier :P

@nlhkabu
Copy link
Contributor

nlhkabu commented Mar 7, 2018

Sorry, I just realised that I totally repeated what @ewdurbin said there! :P

@brainwane brainwane changed the title Default search/browse package order Display help text on browse page and null search page Mar 15, 2018
@brainwane
Copy link
Contributor

OK, I think we have a TODO here: when the user has not selected/input any search query parameters (via GET to https://pypi.org/search/?q= or specifically https://pypi.org/search/ with no trailing query parameters), display some placeholder text. I can suggest some copy:

Enter a search query above, or select a filter from the list of classifiers on the left. You can combine searches and classifier filters. Examples:

@brainwane brainwane added the help needed We'd love volunteers to advise on or help fix/implement this. label Mar 20, 2018
@brainwane
Copy link
Contributor

@yeraydiazdiaz, @aalmazan, @Volcyy, @HndrkMkt, @cryvate, @asottile, would one of you be interested in working on this?

@nlhkabu
Copy link
Contributor

nlhkabu commented Mar 20, 2018

@brainwane - I have a PR on progress for this ticket. But it would be great if one of the devs you have pinged could review it? I hope to push it today/tomorrow morning :)

@brainwane brainwane removed the help needed We'd love volunteers to advise on or help fix/implement this. label Mar 20, 2018
@nlhkabu
Copy link
Contributor

nlhkabu commented Mar 21, 2018

I've made the PR (see #3327), but I have a question about the best way to set up the example search/filters.

If @yeraydiazdiaz, @aalmazan, @Volcyy, @HndrkMkt, @cryvate, or @asottile could take a look at the PR, that would be great!!

@di di closed this as completed in #3327 Mar 21, 2018
Warehouse rollout automation moved this from Milestone 4: Redirect/Launch to Done Mar 21, 2018
@brainwane
Copy link
Contributor

@hnykda Thanks for reporting this issue! Hope we've taken care of the problem you saw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request usability UX/UI design, user experience, user interface
Projects
No open projects
Development

No branches or pull requests

6 participants