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

Dataset page: files are listed in random order -> Sort them! #2014

Closed
raprasad opened this issue Apr 14, 2015 · 17 comments
Closed

Dataset page: files are listed in random order -> Sort them! #2014

raprasad opened this issue Apr 14, 2015 · 17 comments
Assignees
Labels
Type: Bug a defect UX & UI: Design This issue needs input on the design of the UI and from the product owner

Comments

@raprasad
Copy link
Contributor

Please sort files by filename. It is confusing to upload meaningfully named files and see them randomly listed.

@raprasad raprasad added UX & UI: Design This issue needs input on the design of the UI and from the product owner Status: Design Type: Bug a defect labels Apr 14, 2015
@raprasad raprasad added this to the Dataverse 4.0: Release Patch milestone Apr 14, 2015
@posixeleni
Copy link
Contributor

Would be really nice to sort them by the "Category" tag as well

@mercecrosas
Copy link
Member

yes, we need for some datasets as soon as possible a way to sort or filter them by category - we could, for example, display the categories as "tags" at the top of the page (if the dataset has any tags), and when you click in a "tag", it filters the files for that category. This is needed son to bring functionality we had in 3.6 that a few dataverses are heavily relying on.

@scolapasta scolapasta assigned landreev and unassigned scolapasta Apr 14, 2015
@scolapasta
Copy link
Contributor

We need sorting for sure for the patch to help resolve some other issues we're seeing.

And we need to decide if filtering by categories needs to be done now or can wait for 4.0.1.

@pdurbin
Copy link
Member

pdurbin commented Apr 14, 2015

This seems to be a duplicate of #1836

@raprasad
Copy link
Contributor Author

@scolapasta @landreev
Didn't see this was assigned. Checked in an annotation update to sort by category and label

@scolapasta
Copy link
Contributor

Files now sorted by label (filename).

Passing this issue to QA; will open new issue for @mcrosas ideas.

@scolapasta
Copy link
Contributor

New issue is #2021

@kcondon
Copy link
Contributor

kcondon commented Apr 15, 2015

Sorting works but noticed it treats files beginning with capital letters differently so files with caps always appears before lowercase files.

So, M51 appears before collier. Otherwise appears to work fine. Gustavo asked that I pass to @eaquigley for comment on above behavior.

@eaquigley
Copy link
Contributor

Personally, I think lowercase and uppercase should be treated the same so M51 should not be appearing before collier.

@mheppler
Copy link
Contributor

Where do numbers-first fall then?

Order these files:

M51, michael75, m2000, 22mheppler

On Thu, Apr 16, 2015 at 4:09 PM, Elizabeth Quigley <notifications@github.com

wrote:

Personally, I think lowercase and uppercase should be treated the same so
M51 should not be appearing before collier.


Reply to this email directly or view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_IQSS_dataverse_issues_2014-23issuecomment-2D93828547&d=BQMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=q2KhVUUNFlB72-yFEyOCNDqrLfr3shmrxT_VzITkkxs&m=cRP7iFlzho-tF9w140rf-_WmD9Wh3CxcuT0wNT1uTYU&s=S2ToBATf5EC-GHu-gz8fOAeY11oBera6K_T-A313Qdo&e=
.

@eaquigley
Copy link
Contributor

@mheppler
22mheppler
m2000
M51
michael75

This is a fun quiz!

@scolapasta
Copy link
Contributor

That's easy, the challenge is aways:
1a
10a
2a

@kcondon
Copy link
Contributor

kcondon commented Apr 16, 2015

Right, numbers always come before letters but 10 comes before 2 in sorting but in human readable terms it doesn't. Capital and small letters are sorted differently but in human terms they are the same.


From: Gustavo Durand [notifications@github.com]
Sent: Thursday, April 16, 2015 4:17 PM
To: IQSS/dataverse
Cc: Condon, Kevin
Subject: Re: [dataverse] Dataset page: files are listed in random order -> Sort them! (#2014)

That's weasy, the challenge is aways:
1a
10a
2a


Reply to this email directly or view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_IQSS_dataverse_issues_2014-23issuecomment-2D93830060&d=BQMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=TUpjWt9sVfaAC8ETCY_cDPtqJKl7s242PLg6-Wx6UpM&m=ns8OiHYP-jG-kLShel5PJJ6QP5NUm0ob3EJqHXCXAkg&s=3dGZYbXrD9qrX5JXVc2em2EBqjdagYqEluUXGFK6-fo&e=.

@scolapasta
Copy link
Contributor

Right. For 4.0 we are handling the upper case lower case aspect.

#s will sort alphabetically.

@kcondon
Copy link
Contributor

kcondon commented Apr 16, 2015

I'm tired of this ticket, closing.

@kcondon kcondon closed this as completed Apr 16, 2015
@kcondon
Copy link
Contributor

kcondon commented Apr 16, 2015

OK order is fine.

@pdurbin
Copy link
Member

pdurbin commented Jun 30, 2017

yes, we need for some datasets as soon as possible a way to sort or filter them by category - we could, for example, display the categories as "tags" at the top of the page (if the dataset has any tags), and when you click in a "tag", it filters the files for that category. This is needed son to bring functionality we had in 3.6 that a few dataverses are heavily relying on.

@dliburd does this comment by @mercecrosas capture what you were showing me yesterday? Either, way, can you please open a new GitHub issue and include a screenshot? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug a defect UX & UI: Design This issue needs input on the design of the UI and from the product owner
Projects
None yet
Development

No branches or pull requests

9 participants