-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Continuing improve download files page layout #18982
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
base: main
Are you sure you want to change the base?
Conversation
Show special text when filters match no files. Update tests to match changes.
# Conflicts: # warehouse/locale/messages.pot
|
Hi @cofiem This is great! Thank you again. A few design / usability thoughts:
I would lean towards reimplementing the file names as I think the file names as easy to visually scan in the table, and the search feature is pretty useful
Thoughts? I'm happy to update the relevant HTML / CSS on this :) We will need to figure out how to better wrap some of the content in the table :) |
|
Thanks @nlhkabu! I appreciate you having a look at this.
My suggestion for division of remaining tasks:
I'm not sure on the best way to split up the work here - are you able to edit this PR? |
|
Playing with it some more - one thing that I've noticed is that when I change the values in each select, then all of the other options disappear, meaning that I cannot easily switch between values. For example, if I select |
|
Thanks @cofiem - I agree with your plan and that breakdown of tasks works for me. I'll wait for your progress and then I can make any final design changes :) |
|
I'm running into this jsdom bug which is blocking my progress. The bug causes the wrong select element options to be considered selected. The bug was introduced in version v20.0.1, and resolved in v21.0.0. The current version used by warehouse is v20.0.3. Could a maintainer look into this, please? |
Hey @cofiem ! I just did a round of JS updates including jsdom stuff in #19203. If you rebase on |


Continuing #18741
Additions:
Update url based on the selected filters.
Limit the filters based on what the user has already selected.
Provide quick option to reset the filters ("Show all files" link).
Show "No files match your selection" message when user filters by a combination which returns no results.
The File column does not show the full file name.
I changed this to save space, and because the useful information is now available in the other columns of the table.
The filters now use the display tags for the labels, and the actual tags for the values.

The bdist table uses the display tags.

The dropdown filters are now exact matches.

For example: the files that match by 'includes' using the search:
And the files that match by exact match using the ABI dropdown:
