Skip to content

Add search result ordering #1004

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

Merged
merged 3 commits into from
Mar 6, 2016
Merged

Add search result ordering #1004

merged 3 commits into from
Mar 6, 2016

Conversation

di
Copy link
Member

@di di commented Mar 4, 2016

This PR addresses the "sorting" part of #702 by making the "Order packages by" options functional. Search results can now be sorted by the date of the latest release.

@nlhkabu This also makes two small UI changes.

First, it adds the release creation date (a.k.a. "upload" date) to each individual search result, to make it clear how the results are being ordered:

Before:
screen shot 2016-03-04 at 1 53 24 pm

After:
screen shot 2016-03-04 at 1 52 51 pm

Second, it also adds the current search term to the search field, which I think improves usability when doing multiple searches (you don't have to retype the entire term again):

Before:
screen shot 2016-03-04 at 1 59 21 pm

After:
screen shot 2016-03-04 at 1 59 06 pm

@di di mentioned this pull request Mar 4, 2016
@di di force-pushed the add-search-sorting branch from 7d1c73b to e5802a3 Compare March 4, 2016 19:18
@dstufft
Copy link
Member

dstufft commented Mar 4, 2016

This looks good to me, the design side stuff @nlhkabu will have to chime in on.

@dstufft dstufft added the UX/UI design, user experience, user interface label Mar 5, 2016
nlhkabu added a commit that referenced this pull request Mar 6, 2016
@nlhkabu nlhkabu merged commit bd0d3ea into pypi:master Mar 6, 2016
@nlhkabu
Copy link
Contributor

nlhkabu commented Mar 6, 2016

Looks great @di! Thankyou :)

@di di deleted the add-search-sorting branch April 27, 2018 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX/UI design, user experience, user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants