geneontology / archive-reconstruction

Codes to move various legacy files to the current release.geneontology.org
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Reverse release.geneontology.org/ sort order, increase default display count for usability #10

Closed suzialeksander closed 3 years ago

suzialeksander commented 3 years ago

release.geneontology.org/ currently sorts old->new as default. Can we just flip this so it's new-> old?

Most users (including me) are more interested in releases from 2020-2021ish than the 2004 releases.

pgaudet commented 3 years ago

I would also like that!

suzialeksander commented 3 years ago

@lpalbou, two more related points:

To clarify, Size is really helpful once in a directory, but on http://release.geneontology.org/ it's always blank. Can those blank fields be hidden on http://release.geneontology.org/ and only shown if there's info, on e.g. http://release.geneontology.org/2004-06-01/annotations/index.html

lpalbou commented 3 years ago

Since this now contains both the archive and the current releases, I also think it's more logical to have newer releases first.

Columns Last modified and Timestamps are now hidden since the "Last modified doesn't reflect the date of the release in any way and Timestamps is not really helpful either.

I have merged my code (https://github.com/lpalbou/aws-js-s3-explorer/pull/2) and you can see the resulting changes on my temporary site: http://release.geneontology.xyz/. To take effect on the go site, only @kltm can deploy the changes with the usual command line:

python3 s3_add_index.py -o <bucket_name>
suzialeksander commented 3 years ago

This looks better as far as hiding 'Last Modified'/etc. but on http://release.geneontology.xyz/ I only see three entries, and the releases appear to still be in old -> new order

lpalbou commented 3 years ago

@suzialeksander release.geneontology.xyz is my test site as I don't have the privileges to deploy on release.geneontology.org and indeed, I only added 3 releases there for the illustration so no issue here.

For still showing older releases first, you probably have to clear your cache as it does display the newer releases for me after a refresh:

Screen Shot 2021-01-25 at 9 48 29 PM

Once @kltm deploy the changes to release.geneontology.org, you will see all the releases as usual.

lpalbou commented 3 years ago

Done.

pgaudet commented 3 years ago

Thanks !