bazel-contrib / bcr-ui

Website for the Bazel Central Registry
https://registry.bazel.build
Apache License 2.0
15 stars 8 forks source link

Fix sort order of module versions #16

Closed hobofan closed 1 year ago

hobofan commented 2 years ago

In the version history section for a module, it's currently sorted in ascending lexical order.

To improve it, it would probably be better to sort in a way that lists the most recently published versions first (which should also work with modules that have a non-semver version number).

Example:

image
alexeagle commented 2 years ago

I'd add that we should elide a long history like this, it's not useful to show every version. Simple thing would be to paginate I think.